30 lines
443 B
C++
30 lines
443 B
C++
|
#include "ImageBitStream.h"
|
||
|
|
||
|
ImageBitStream::ImageBitStream(Image<unsigned char>* image)
|
||
|
: BitStream(),
|
||
|
mImage(image)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
bool ImageBitStream::isFinished() const
|
||
|
{
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
std::vector<unsigned char> ImageBitStream::peekNextNBytes(unsigned n) const
|
||
|
{
|
||
|
return {};
|
||
|
}
|
||
|
|
||
|
std::optional<unsigned char> ImageBitStream::readNextByte()
|
||
|
{
|
||
|
return std::nullopt;
|
||
|
}
|
||
|
|
||
|
void ImageBitStream::writeByte(unsigned char data)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|