![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: Translate big endian C to perl on x86 of binary file into structureby renodino (Curate) |
on Sep 14, 2007 at 22:10 UTC ( #639096=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|