#include <streams.h>
Definition at line 467 of file streams.h.
◆ BitStreamWriter()
◆ ~BitStreamWriter()
◆ Flush()
Flush any unwritten bits to the output stream, padding with 0's to the next byte boundary.
Definition at line 510 of file streams.h.
◆ Write()
Write the nbits least significant bits of a 64-bit int to the output stream.
Data is buffered until it completes an octet.
Definition at line 489 of file streams.h.
◆ m_buffer
Buffered byte waiting to be written to the output stream.
The byte is written buffer when m_offset reaches 8 or Flush() is called.
Definition at line 473 of file streams.h.
◆ m_offset
Number of high order bits in m_buffer already written by previous Write() calls and not yet flushed to the stream.
The next bit to be written to is at this offset from the most significant bit position.
Definition at line 478 of file streams.h.
◆ m_ostream
The documentation for this class was generated from the following file: