package slice

  1. Overview
  2. Docs
A Slice type for bigstrings and bytes

Install

dune-project
 Dependency

Authors

Maintainers

Sources

bstr-0.1.1.tbz
sha256=e657cffda56910b14b98c76dd6e0382ea4bc5d0167e88391aba93196b016eee0
sha512=80dccae9308f57185a2c2fcfc63727043a5d0c7a0cf9b3687064882d64449404a51352d90160042f12f9bd3173aaf19ec715d1c796f4e808c0677ea9dbcb9ca8

doc/slice/Slice/index.html

Module SliceSource

Sourcetype 'buf t = private {
  1. buf : 'buf;
  2. off : int;
  3. len : int;
}
Sourceval unsafe_make : off:int -> len:int -> 'buf -> 'buf t
Sourceval unsafe_sub : 'buf t -> int -> int -> 'buf t
Sourceval pp : Format.formatter -> 'a t -> unit
Sourceval length : 'a t -> int
Sourceval sub : 'a t -> off:int -> len:int -> 'a t
Sourceval shift : 'a t -> int -> 'a t
Sourceval is_empty : 'a t -> bool
Sourcemodule type R = sig ... end
Sourcemodule type W = sig ... end
Sourcemodule type S = sig ... end