Claw
1.7.3
|
This class is made to help writing datas of custom bit length. More...
#include <bit_ostream.hpp>
Public Member Functions | |
bit_ostream (stream_type &f) | |
Constructor. | |
~bit_ostream () | |
Destructor. | |
void | write (const char *buf, unsigned int n) |
Write some bits. |
This class is made to help writing datas of custom bit length.
Definition at line 40 of file bit_ostream.hpp.
claw::bit_ostream< Stream >::bit_ostream | ( | stream_type & | f | ) |
Constructor.
f | The stream in which we write. |
Definition at line 38 of file bit_ostream.tpp.
void claw::bit_ostream< Stream >::write | ( | const char * | buf, |
unsigned int | n | ||
) |
Write some bits.
buf | A buffer from which we read the bits. |
n | The number of bits to write. |
Definition at line 62 of file bit_ostream.tpp.
Referenced by claw::bit_ostream< Stream >::~bit_ostream().