method output : Stdlib.Bytes.t -> int -> int -> intoutput s ofs len writes up to len bytes of the substring s.[ofs .. ofs+len-1]. Return the number of bytes actually written. When the channel is non-blocking, and there are currently no bytes to write, the number 0 must be returned.
method close_out : unit -> unitFlushes the buffer, if any, and closes the channel for output.