BUILT-IN MATHEMATICA SYMBOL
- Possible settings for ByteOrdering are and .
- corresponds to big endian (appropriate for PowerPC and many other processors); corresponds to little endian (appropriate for x86 processors).
- corresponds to having the most-significant byte first; to having the least-significant byte first.
- is the order obtained from IntegerDigits[n, 256].
$ByteOrdering gives the byte ordering on this machine:
Create a file with a 32-bit integer:
Read the data from the file:
Read the data with reverse byte ordering:
Recreate the correct interpretation using Mathematica functions:
New in 5.2