stdint

AuthorsAndre Nathan, Jeff Shaw, Florian Pichlmeier and Markus W. Weissmann
LicenseMIT
Homepagehttps://github.com/andrenth/ocaml-stdint
Issue Trackerhttps://github.com/andrenth/ocaml-stdint/issues
MaintainerAndre Nathan <andre@hostnet.com.br>
Dependencies
ocamlfind
PublishedJul 25, 2017
Source [http] https://github.com/andrenth/ocaml-stdint/archive/0.4.0.tar.gz
6d058bad24069e1943514e5ebf68daa6
StatisticsInstalled 3 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/stdint/stdint.0.4.0/opam

signed and unsigned integer types having specified widths

The stdint library provides signed and unsigned integer types of various fixed widths: 8, 16, 24, 32, 40, 48, 56, 64 and 128 bit. This interface is similar to Int32 and Int64 from the base library but provides more functions and constants like arithmetic and bit-wise operations, constants like maximum and minimum values, infix operators conversion to and from every other integer type (including int, float and nativeint), parsing from and conversion to readable strings (binary, octal, decimal, hexademical), conversion to and from buffers in both big endian and little endian byte order.