package git-kv

  1. Overview
  2. Docs

Module BbufferSource

Sourcetype inner_buffer = {
  1. buffer : Bstr.t;
  2. length : int;
}
Sourcetype t = {
  1. mutable inner : inner_buffer;
  2. mutable position : int;
  3. initial_buffer : Bstr.t;
}
Sourceval create : int -> t
Sourceval resize : t -> int -> unit
Sourceval add_substring : t -> string -> int -> int -> unit
Sourceval add_string : t -> string -> unit
Sourceval sub : t -> int -> int -> Bstr.t
Sourceval length : t -> int
Sourceval blit : t -> int -> Bstr.t -> int -> int -> unit
OCaml

Innovation. Community. Security.