Another possibility is to adjust the order of the bytes read based on the ordering of the bytes of the magic number in the header. Basically the same idea as the BOM in UTF-16 docs.
In reply to Re: Test and endianness
by ikegami
in thread Test and endianness
by andreas1234567
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |