Reading a Bitstream

Dietrich Epp dietrich at zdome.net
Tue Nov 18 02:59:03 EST 2003


Are there any good modules for reading a bitstream?  Specifically, I 
have a string and I want to be able to get the next N bits as an 
integer.  Right now I'm using struct.unpack and bit operations, it's a 
bit kludgy but it gets the right results.

Thanks in advance. 






More information about the Python-list mailing list