package base_bigstring

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

Install

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

include Int_repr.Get with type t := t

8-bit signed values

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

8-bit unsigned values

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

16-bit signed values

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

16-bit unsigned values

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

32-bit signed values

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

32-bit unsigned values

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

64-bit signed values

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

64-bit unsigned values

Sourceval get_uint64_le : t -> pos:int -> Int_repr.uint64
Sourceval get_uint64_be : t -> pos:int -> Int_repr.uint64
include Int_repr.Set with type t := t

8-bit signed values

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

8-bit unsigned values

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

16-bit signed values

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

16-bit unsigned values

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

32-bit signed values

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

32-bit unsigned values

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

64-bit signed values

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

64-bit unsigned values

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

Innovation. Community. Security.