Packing/unpacking byte_offset