7809ffb
# ocaml-ocplib-endian
7809ffb
471e05d
[ocplib-endian](https://github.com/OCamlPro/ocplib-endian) is a set of
471e05d
optimized OCaml functions to read and write int16/32/64 from strings, bytes
471e05d
and bigarrays, based on primitives added in version 4.01.
471e05d
471e05d
The library implements three modules:
471e05d
471e05d
- `EndianString` works directly on strings, and provides submodules
471e05d
  `BigEndian` and `LittleEndian`, with their unsafe counterparts;
471e05d
- `EndianBytes` works directly on bytes, and provides submodules
471e05d
  `BigEndian` and `LittleEndian`, with their unsafe counterparts;
471e05d
- `EndianBigstring` works on bigstrings (Bigarrays of chars),
471e05d
  and provides submodules `BigEndian` and `LittleEndian`, with their
471e05d
  unsafe counterparts.