Writes individual bits, most significant first, into an underlying byte stream.
Synopsis
Declared in <streams.h>
template<typename OStream>
class BitStreamWriter;
Member Functions
Name |
Description |
|
Construct a bit writer over the given output byte stream. |
|
Flush any buffered bits, then destroy the writer. |
Flush any unwritten bits to the output stream, padding with 0's to the next byte boundary. |
|
Write the nbits least significant bits of a 64‐bit int to the output stream. Data is buffered until it completes an octet. |
Non-Member Functions
Name |
Description |
Golomb‐Rice encode a value into a bit stream. |
Created with MrDocs