int_repr

Integers of various widths
Library int_repr
Module Int_repr . Make_set

Parameters

module F : Set_functions

Signature

8-bit signed values

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

8-bit unsigned values

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

16-bit signed values

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

16-bit unsigned values

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

32-bit signed values

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

32-bit unsigned values

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

64-bit signed values

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

64-bit unsigned values

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