When I read first 4 bytes with python code
len = fobj.read(4)
I got \'o\\xf2\\x00\\x00\'. This should be an int32, an
\'o\\xf2\\x00\\x00\'
int32
I Tried this and got the answer:
>>> print(int.from_bytes(b'o\xf2\x00\x00','little')) 62063
>>> import struct >>> struct.unpack('<i', 'o\xf2\x00\x00') (62063,)