- Main Page
- Namespaces
- Classes
- Files
- Directories

- Class List
- Class Hierarchy
- Class Members

# dirac::BitInputManager Class Reference

A class for managing bit-wise and byte-wise input. More...

`#include <bit_manager.h>`

List of all members.

## 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.

## Detailed Description

A class for managing bit-wise and byte-wise input.

Definition at line 457 of file bit_manager.h.

## Constructor & Destructor Documentation

BitInputManager::BitInputManager | ( | std::istream * | in_data | ) |

| Constructor. Constructor. Wraps around an istream object. Definition at line 342 of file bit_manager.cpp.

The documentation for this class was generated from the following files:

- C:/guliverkli/src/filters/parser/diracsplitter/libdirac/libdirac_common/bit_manager.h
- C:/guliverkli/src/filters/parser/diracsplitter/libdirac/libdirac_common/bit_manager.cpp