What is your python version? And could you check if the following works:
$ python >>> import struct >>> struct.unpack("<I", "\x0A\x00\x00\x00") (10,) >>> struct.unpack("<I", bytearray("\x0A\x00\x00\x00")) (10,)
What is your python version? And could you check if the following works:
$ python "\x0A\x00\ x00\x00" ))
>>> import struct
>>> struct.unpack("<I", "\x0A\x00\x00\x00")
(10,)
>>> struct.unpack("<I", bytearray(
(10,)