package iostream

  1. Overview
  2. Docs
method input : bytes -> int -> int -> int

Read into the slice. Returns 0 only if the stream is closed.

method close : unit -> unit

Close the input. Must be idempotent.

OCaml

Innovation. Community. Security.