Initial fixed huffman coding for png.

This commit is contained in:
James Grogan 2022-11-28 10:16:04 +00:00
parent e4f9393ee7
commit 7f5009fb5e
39 changed files with 1294 additions and 440 deletions

View file

@ -22,7 +22,7 @@ std::optional<unsigned char> OutputBitStream::readNextByte()
return std::nullopt;
}
void OutputBitStream::writeByte(unsigned char data)
void OutputBitStream::writeByte(unsigned char data, bool checkOverflow )
{
(*mStream) << data;
}