Bit substring search

bearophileHUGS at bearophileHUGS at
Tue Jun 24 13:52:41 CEST 2008

Kris Kennaway:
> I am trying to parse a bit-stream file format (bzip2) that does not have
> byte-aligned record boundaries, so I need to do efficient matching of
> bit substrings at arbitrary bit offsets.
> Is there a package that can do this?

You may take a look at Hachoir or some other modules:
Etc. More:


More information about the Python-list mailing list