endianness can be bothersome *sometimes*