This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / System Interface / System Parameters /


FilledSmallSquare $ByteOrdering gives the native ordering of bytes in binary data on your computer system.

FilledSmallSquare Possible values of $ByteOrdering are +1 and -1.

FilledSmallSquare +1 corresponds to big endian (appropriate for 680x0 and many other processors); -1 corresponds to little endian (appropriate for x86 processors).

FilledSmallSquare +1 corresponds to having the most significant byte first; -1 to having the least significant byte first.

FilledSmallSquare +1 is the order obtained from IntegerDigits[n, 256].

FilledSmallSquare $ByteOrdering gives the default setting for the ByteOrdering option in Import and Export.

FilledSmallSquare See Section 2.14.5.

FilledSmallSquare See also: $ProcessorType.

FilledSmallSquare New in Version 4.