package int_repr

  1. Overview
  2. Docs
include Get with type t := Stdlib.String.t

8-bit signed values

val get_int8 : Stdlib.String.t -> pos:int -> int8

8-bit unsigned values

val get_uint8 : Stdlib.String.t -> pos:int -> uint8

16-bit signed values

val get_int16_le : Stdlib.String.t -> pos:int -> int16
val get_int16_be : Stdlib.String.t -> pos:int -> int16

16-bit unsigned values

val get_uint16_le : Stdlib.String.t -> pos:int -> uint16
val get_uint16_be : Stdlib.String.t -> pos:int -> uint16

32-bit signed values

val get_int32_le : Stdlib.String.t -> pos:int -> int32
val get_int32_be : Stdlib.String.t -> pos:int -> int32

32-bit unsigned values

val get_uint32_le : Stdlib.String.t -> pos:int -> uint32
val get_uint32_be : Stdlib.String.t -> pos:int -> uint32

64-bit signed values

val get_int64_le : Stdlib.String.t -> pos:int -> int64
val get_int64_be : Stdlib.String.t -> pos:int -> int64

64-bit unsigned values

val get_uint64_le : Stdlib.String.t -> pos:int -> uint64
val get_uint64_be : Stdlib.String.t -> pos:int -> uint64
module Unsafe : sig ... end
OCaml

Innovation. Community. Security.