I am building a parser to parse different kind of files bytewise by using IO class.
However such class allows me (through the 'read' method) to read only amounts of bytes, and not bits.
I have just encountered a spec of a file where I need a bitwise reading, for example:
in this case I have to read 1 bit only at first, and then 15 or 7 afterwards.
Is there a way to do such thing with IO class? Thanks in advance!
