preparation for endianness control in packer