int_repr

Integers of various widths
Library int_repr
Module type Int_repr . Set
type t

8-bit signed values

val set_int8 : t -> pos:int -> int8 -> unit

8-bit unsigned values

val set_uint8 : t -> pos:int -> uint8 -> unit

16-bit signed values

val set_int16_le : t -> pos:int -> int16 -> unit
val set_int16_be : t -> pos:int -> int16 -> unit

16-bit unsigned values

val set_uint16_le : t -> pos:int -> uint16 -> unit
val set_uint16_be : t -> pos:int -> uint16 -> unit

32-bit signed values

val set_int32_le : t -> pos:int -> int32 -> unit
val set_int32_be : t -> pos:int -> int32 -> unit

32-bit unsigned values

val set_uint32_le : t -> pos:int -> uint32 -> unit
val set_uint32_be : t -> pos:int -> uint32 -> unit

64-bit signed values

val set_int64_le : t -> pos:int -> int64 -> unit
val set_int64_be : t -> pos:int -> int64 -> unit

64-bit unsigned values

val set_uint64_le : t -> pos:int -> uint64 -> unit
val set_uint64_be : t -> pos:int -> uint64 -> unit