Convert::Binary::C might be useful. It'll help with not just your endianess issues, but your alignment issues.
In reply to Re: Translate big endian C to perl on x86 of binary file into structure
by ikegami
in thread Translate big endian C to perl on x86 of binary file into structure
by sg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |