package base_bigstring

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

8-bit signed values

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

8-bit unsigned values

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

16-bit signed values

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

16-bit unsigned values

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

32-bit signed values

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

32-bit unsigned values

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

64-bit signed values

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

64-bit unsigned values

val get_uint64_le : t -> pos:int -> Int_repr.uint64
val get_uint64_be : t -> pos:int -> Int_repr.uint64
module Local : sig ... end
include Int_repr.Set with type t := t

8-bit signed values

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

8-bit unsigned values

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

16-bit signed values

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

16-bit unsigned values

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

32-bit signed values

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

32-bit unsigned values

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

64-bit signed values

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

64-bit unsigned values

val set_uint64_le : t -> pos:int -> Int_repr.uint64 -> unit
val set_uint64_be : t -> pos:int -> Int_repr.uint64 -> unit
module Unsafe : sig ... end
OCaml

Innovation. Community. Security.