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.