package colombe

  1. Overview
  2. Docs
type encoder
val io_buffer_size : int
val encoder : unit -> encoder
type error =
  1. | No_enough_space
val pp_error : error Fmt.t
type state =
  1. | Write of {
    1. buffer : string;
    2. off : int;
    3. len : int;
    4. continue : int -> state;
    }
  2. | Error of error
  3. | Ok
val safe : (encoder -> state) -> encoder -> state
val flush : (encoder -> state) -> encoder -> state
val write : string -> encoder -> unit
val blit : buf:string -> off:int -> len:int -> encoder -> unit
OCaml

Innovation. Community. Security.