Is your machine not big or little endian? That's pretty rare hardware.
You can ask for the values in network order, or worst case, you can unpack it by bytes, and shuffle them manually.
In reply to Re^3: sprintf %X endianness
by SuicideJunkie
in thread sprintf %X endianness
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |