Use ocplib-endian to read/write bigendian int16/int64