Determines the endianness of the current environment.
Allocates a 2-byte ArrayBuffer and sets its bytes to known values.
Checks the resulting 16-bit value to infer whether the system is little-endian or big-endian.
Returns undefined|boolean
Returns true if the system is little-endian, false if big-endian,
or undefined if the endianness cannot be determined.
Determines the endianness of the current environment.
Allocates a 2-byte ArrayBuffer and sets its bytes to known values. Checks the resulting 16-bit value to infer whether the system is little-endian or big-endian.