package piaf

  1. Overview
  2. Docs
type 'a t = 'a Faraday.iovec = {
  1. buffer : 'a;
  2. off : int;
  3. len : int;
}
val make : 'a -> off:int -> len:int -> 'a t
val length : _ t -> int
val lengthv : _ t list -> int
val shift : 'a t -> int -> 'a t
val shiftv : 'a t list -> int -> 'a t list
val of_string : string -> off:int -> len:int -> Bigstringaf.t t
val of_bytes : bytes -> off:int -> len:int -> Bigstringaf.t t
val pp_hum : Format.formatter -> _ t -> unit
OCaml

Innovation. Community. Security.