BitFileIn class public functions

BitFileIn
~BitFileIn
readBits
valid

BitFileIn(void);
Does nothing.
BitFileIn(const char* filename, int state);
Sets up reading bits from filename.

~BitFileIn();
does nothing.

long readBits(int bitCount);
Returns a long int with the first bitCount bits filled with data from the file. bitCount cannot be greater than 32. If you need more than 32 bits, you should be using ifstream::read(char*, int)

int valid(void);
Return true until trying to read bits after the end of a file. Used to check if the bits read from a file are valid for last readBit call.