Parsing Binary Structures; Is there a better way / What is your way?

Paul Rubin http
Wed Aug 5 14:12:05 EDT 2009


"Martin P. Hellwig" <martin.hellwig at dcuktec.org> writes:
> what I usually do is read the packet in binary mode, convert the
> output to a concatenated 'binary string'(i.e. '0101011000110') and

Something wrong with reading the data words as an integer and using
old fashioned shifts and masks to get at the bit fields?



More information about the Python-list mailing list