BitReader Class Reference

Stream bit-reader - automated buffer for reading single bits. More...

#include <fileUtil.h>

List of all members.

Public Member Functions

 BitReader (std::istream &stream)
 Constructor just associates the object with the given stream.
int getBits (int bits)
 Reads bits.
void flush ()
 Clears buffer.

Private Attributes

int buffer
 Buffered bits, number of buffered bits.
std::istream & is
 Used input (byte)stream.


Detailed Description

Stream bit-reader - automated buffer for reading single bits.

Definition at line 99 of file fileUtil.h.


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

Generated on Thu Aug 6 22:33:14 2009 for Fractal Image Compressor by  doxygen 1.5.8