package int_repr

  1. Overview
  2. Docs

Parameters

module F : Get_functions

Signature

8-bit signed values

val get_int8 : F.t -> pos:int -> int8

8-bit unsigned values

val get_uint8 : F.t -> pos:int -> uint8

16-bit signed values

val get_int16_le : F.t -> pos:int -> int16
val get_int16_be : F.t -> pos:int -> int16

16-bit unsigned values

val get_uint16_le : F.t -> pos:int -> uint16
val get_uint16_be : F.t -> pos:int -> uint16

32-bit signed values

val get_int32_le : F.t -> pos:int -> int32
val get_int32_be : F.t -> pos:int -> int32

32-bit unsigned values

val get_uint32_le : F.t -> pos:int -> uint32
val get_uint32_be : F.t -> pos:int -> uint32

64-bit signed values

val get_int64_le : F.t -> pos:int -> int64
val get_int64_be : F.t -> pos:int -> int64

64-bit unsigned values

val get_uint64_le : F.t -> pos:int -> uint64
val get_uint64_be : F.t -> pos:int -> uint64
module Local : sig ... end
OCaml

Innovation. Community. Security.