void rz3_section_header::flip_endianess() {
  nrecords = byteswap32(nrecords);
  CompressedBufferSize = byteswap64(CompressedBufferSize);
  for (int i=0; i<rstzip3::bitarray_count; i++) {
    rz3_bitarray_counts[i] = byteswap32(rz3_bitarray_counts[i]);
  }
}
示例#2
0
 static uint64_t _swap64(uint64_t x)
 {
     return byteswap64(x);
 }