Fork of https://github.com/OCamlPro/ocplib-endian