compress & endian