ocplib-endian

Optimised functions to read and write int16/32/64 from strings and bigarrays
Library ocplib-endian.bigstring
module type EndianBigstringSig = sig ... end

Functions reading according to Big Endian byte order

module BigEndian : sig ... end

Functions reading according to Big Endian byte order without checking for overflow

module BigEndian_unsafe : sig ... end

Functions reading according to Big Endian byte order without checking for overflow

module LittleEndian : sig ... end

Functions reading according to Little Endian byte order

module LittleEndian_unsafe : sig ... end

Functions reading according to Big Endian byte order without checking for overflow

module NativeEndian : sig ... end

Functions reading according to machine endianness

module NativeEndian_unsafe : sig ... end

Functions reading according to machine endianness without checking for overflow