This function returns True if running on little endian machine.
function IsLittleEndian: Boolean;
ImagingUtility (at line 243)