ocplib-endianversion

Optimised functions to read and write int16/32/64 from strings and bigarrays

The library implements three modules:

  • EndianString works directly on strings, and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;
  • EndianBytes works directly on bytes, and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;
  • EndianBigstring works on bigstrings (Bigarrays of chars), and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts.
AuthorPierre Chambart
LicenseLGPL-2.1-or-later WITH OCaml-LGPL-linking-exception
Published
Homepagehttps://github.com/OCamlPro/ocplib-endian
Issue Trackerhttps://github.com/OCamlPro/ocplib-endian/issues
Maintainerpierre.chambart@ocamlpro.com
Dependencies
Source [http] https://github.com/OCamlPro/ocplib-endian/archive/refs/tags/1.2.tar.gz
md5=8d5492eeb7c6815ade72a7415ea30949
sha512=2e70be5f3d6e377485c60664a0e235c3b9b24a8d6b6a03895d092c6e40d53810bfe1f292ee69e5181ce6daa8a582bfe3d59f3af889f417134f658812be5b8b85
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ocplib-endian/ocplib-endian.1.2/opam