Small png cleaning.
This commit is contained in:
parent
86bc0d89f6
commit
59cc910d58
6 changed files with 83 additions and 74 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue