Small png cleaning.

This commit is contained in:
James Grogan 2022-11-23 20:26:58 +00:00
parent 86bc0d89f6
commit 59cc910d58
6 changed files with 83 additions and 74 deletions

View file

@ -19,6 +19,14 @@ unsigned char BitStream::getCurrentByte()
return mCurrentByte;
}
void BitStream::write(uint32_t data)
{
unsigned num_bytes = sizeof(uint32_t);
for(unsigned idx=0; idx<num_bytes;idx++)
{
writeByte(ByteUtils::getByteN(data, idx));
}
}
int BitStream::getCurrentByteOffset() const
{