endian swap control