opam-version: "2.0"
maintainer: "contact@ocamlpro.com"
homepage: "https://github.com/OCamlPro/ocplib-endian"
build: [
  ["ocaml" "setup.ml" "-configure" "--disable-debug" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
]
remove: [["ocamlfind" "remove" "ocplib-endian"]]
depends: [
  "ocaml"
  "base-bytes"
  "ocamlfind"
  "optcomp" {>= "1.6"}
  "camlp4"
  "ocamlbuild" {build}
]
dev-repo: "git://github.com/OCamlPro/ocplib-endian"
install: ["ocaml" "setup.ml" "-install"]
synopsis:
  "Optimised functions to read and write int16/32/64 from strings and bigarrays, based on new primitives added in version 4.01."
description: """
The library implements three modules:
* [EndianString](https://github.com/OCamlPro/ocplib-endian/blob/master/src/endianString.mli) works directly on strings, and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;
* [EndianBytes](https://github.com/OCamlPro/ocplib-endian/blob/master/src/endianBytes.mli) works directly on bytes, and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;
* [EndianBigstring](https://github.com/OCamlPro/ocplib-endian/blob/master/src/endianBigstring.mli) works on bigstrings (Bigarrays of chars), and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;"""
flags: light-uninstall
url {
  src: "https://github.com/OCamlPro/ocplib-endian/archive/0.6.tar.gz"
  checksum: "md5=e8a3bab148db6fe46b17796900228209"
}
tags: ["org:ocamlpro"]
