xoreos
0.0.5
|
A bit stream writer. More...
#include <bitstreamwriter.h>
Public Member Functions | |
virtual | ~BitStreamWriter () |
virtual void | putBit (bool bit)=0 |
Write a bit to the bit stream. More... | |
virtual void | putBits (uint32 bits, size_t n)=0 |
Write a multi-bit value to the bit stream. More... | |
virtual void | flush ()=0 |
Flush the stream, forcing all cached bits to the written. More... | |
Protected Member Functions | |
BitStreamWriter () | |
A bit stream writer.
Definition at line 40 of file bitstreamwriter.h.
|
inlinevirtual |
Definition at line 42 of file bitstreamwriter.h.
|
inlineprotected |
Definition at line 55 of file bitstreamwriter.h.
|
pure virtual |
Flush the stream, forcing all cached bits to the written.
Implemented in Common::BitStreamWriterImpl< valueBits, isLE, isMSB2LSB >.
|
pure virtual |
Write a bit to the bit stream.
Implemented in Common::BitStreamWriterImpl< valueBits, isLE, isMSB2LSB >.
Referenced by Sound::CodebookLibrary::copy(), and Sound::CodebookLibrary::rebuild().
|
pure virtual |
Write a multi-bit value to the bit stream.
Implemented in Common::BitStreamWriterImpl< valueBits, isLE, isMSB2LSB >.
Referenced by Sound::CodebookLibrary::copy(), Sound::putVorbisHeader(), Sound::putVorbisString(), and Sound::CodebookLibrary::rebuild().