#include <bit_manager.h>
Public Member Functions | |
BitInputManager (std::istream *in_data) | |
Constructor. | |
~BitInputManager () | |
Destructor. | |
bool | InputBit () |
Obtain the next bit. | |
bool | InputBit (int &count) |
Obtain the next bit, incrementing count. | |
bool | InputBit (int &count, const int max_count) |
Obtain the next bit, incrementing count, if count<max_count; else return 0 (false). | |
char | InputByte () |
Obtain the next byte. | |
void | InputBytes (char *cptr, int num) |
Obtain a number of bytes. | |
void | FlushInput () |
Move onto the next byte. Needed if a data unit is not an exact number of bytes. | |
bool | End () const |
Returns true if we're at the end of the input, false otherwise. |
Definition at line 457 of file bit_manager.h.
|
Constructor. Constructor. Wraps around an istream object. Definition at line 342 of file bit_manager.cpp. |