|
Claw
1.7.3
|
This class is made to help reading datas of custom bit length. More...
#include <bit_istream.hpp>
Public Member Functions | |
| bit_istream (stream_type &f) | |
| Constructor. | |
| void | read (char *buf, unsigned int n) |
| Read some bits. | |
| operator bool () const | |
| Tell if the input stream is still valid. | |
This class is made to help reading datas of custom bit length.
Definition at line 40 of file bit_istream.hpp.
| claw::bit_istream< Stream >::bit_istream | ( | stream_type & | f | ) |
Constructor.
| f | The stream in which we read. |
Definition at line 38 of file bit_istream.tpp.
| void claw::bit_istream< Stream >::read | ( | char * | buf, |
| unsigned int | n | ||
| ) |
Read some bits.
| buf | A buffer in which we write the bits. |
| n | The number of bits to read. |
Definition at line 51 of file bit_istream.tpp.
1.8.1.2