endianness conversion for big endian systems