check endian of the machine