Reading Binary files written in Low endian format

Posted by on 2013-04-11 16:28

Hello All,

I need to read a binary file containing records(int, string, long, date) using Python.

Can someone share a sample code that i can use to read the binary file?


sophisticated | Thu, 2014-10-02 03:47

You should look at Open Source Forensic tools written in Python. Obviously, reading binary can be achieved with open("file", "rb") but for int, string etc types you need to know the file structure aka first 4 bytes are int, next 16 bytes are time & date.