The library appears to read the 16-bit and 32-bit ints directly into structs via `fread` without byte-swapping them on big-endian platforms.