http://qs321.pair.com?node_id=639096


in reply to Translate big endian C to perl on x86 of binary file into structure

See pack and unpack, esp. the N/n vs. V/v format specifiers. However, if you need to unpack floats, I fear you'll need to get out the IEEE spec and swizzle your own bytes.

Perl Contrarian & SQL fanboy
  • Comment on Re: Translate big endian C to perl on x86 of binary file into structure