Endian check first