Global environment
set the littleEndian to true -- use little-endian byte order
set the littleEndian to false -- use big-endian byte order
The littleEndian
property determines or changes the endianness of the tinyInt
, shortInt
, mediumInt
, longInt
, halfFloat
, singleFloat
, and doubleFloat
binary numeric chunk types. A true
value indicates that binary data should be treated as little-endian. A false
value indicates that binary data should be treated as big-endian. The default is false
, or big-endian. (This was chosen as the default because the 68000 and PowerPC architectures running Mac OS Classic and the Java virtual machine are big-endian.)
unsigned
, binary
, tinyInt
, shortInt
, mediumInt
, longInt
, halfFloat
, singleFloat
, doubleFloat