package rio

  1. Overview
  2. Docs

Module Rio.IovecSource

Sourcetype iov = {
  1. ba : bytes;
  2. off : int;
  3. len : int;
}
Sourcetype t = iov array
Sourceval with_capacity : int -> t
Sourceval create : ?count:int -> size:int -> unit -> t
Sourceval sub : ?pos:int -> len:int -> t -> t
Sourceval length : t -> int
Sourceval iter : t -> (iov -> unit) -> unit
Sourceval of_bytes : bytes -> t
Sourceval from_cstruct : Cstruct.t -> t
Sourceval into_cstruct : t -> Cstruct.t
Sourceval from_string : string -> t
Sourceval from_buffer : Buffer.t -> t
Sourceval into_string : t -> string
OCaml

Innovation. Community. Security.