package piqilib

  1. Overview
  2. Docs
type t =
  1. | String of string_slice
  2. | Channel of Stdlib.in_channel
val of_channel : Stdlib.in_channel -> t
val to_string : t -> string
val pos : t -> int
val size : t -> int
val error : t -> string -> 'a
exception End_of_buffer
val next_byte : t -> int
val next_block : t -> int -> t
val of_string : string -> t
OCaml

Innovation. Community. Security.