D
Derfel
Hello all,
I have a file of binary data. I want to read this file and parse the data in
it. The format of the file is:
8 bits number of data pakets
6 bits offset
20 bits time
8 states
How can I read this fields in binary? I see the struct module and the
binascii, but I can't split the diferent fiels.
Thanks in advance
Regards
I have a file of binary data. I want to read this file and parse the data in
it. The format of the file is:
8 bits number of data pakets
6 bits offset
20 bits time
8 states
How can I read this fields in binary? I see the struct module and the
binascii, but I can't split the diferent fiels.
Thanks in advance
Regards