package base_bigstring

  1. Overview
  2. Docs
String type based on [Bigarray], for use in I/O and C-bindings

Install

dune-project
 Dependency

Authors

Maintainers

Sources

base_bigstring-v0.15.0.tar.gz
sha256=ff75f1748baf83b0244aeba4e1bfff7f2da3f3ab5a992bb8a21ab832cea1d56b

doc/base_bigstring/Base_bigstring/Int_repr/index.html

Module Base_bigstring.Int_repr

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
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