Module Unsigned
Types and operations for unsigned integers.
module type S = sig ... end
Unsigned integer operations.
module UInt32 : sig ... end
Unsigned 32-bit integer type and operations.
module UInt64 : sig ... end
Unsigned 64-bit integer type and operations.
type uchar
= UChar.t
The unsigned char type.
type uint8
= UInt8.t
Unsigned 8-bit integer type.
type uint16
= UInt16.t
Unsigned 16-bit integer type.
type uint32
= UInt32.t
Unsigned 32-bit integer type.
type uint64
= UInt64.t
Unsigned 64-bit integer type.
type size_t
= Size_t.t
The size_t unsigned integer type.
type ushort
= UShort.t
The unsigned short unsigned integer type.
type uint
= UInt.t
The unsigned int type.
type ulong
= ULong.t
The unsigned long integer type.
type ullong
= ULLong.t
The unsigned long long integer type.
val of_byte_size : int -> (module S)
of_byte_size b
is a module of type S that implements an unsigned type withb
bytes.Raise
Invalid_argument
if no suitable type is available.