[SciPy-User] unpacking binary data from a C structure

Tom Kuiper kuiper@jpl.nasa....
Tue Apr 13 08:28:55 CDT 2010

I should probably have mentioned how I got the buffer:

  buf = fd.read(50)
  header = unpack_from('=4H LH2x 2x2HL4xdL4xH',buf)

Also, the system is Debian Linux so gcc was the compiler that made the 
program that wrote the binary file.


More information about the SciPy-User mailing list