package iostream

  1. Overview
  2. Docs

An output stream, ie. a place into which we can write bytes. This can be a Buffer.t, an out_channel, a Unix.file_descr, etc.

method output : bytes -> int -> int -> unit

Output slice

method close : unit -> unit

Close the output. Must be idempotent.

OCaml

Innovation. Community. Security.