Io module

Writer

structSource

A sink for bytes, the counterpart of Reader: a pointer to its data, a write_proc and an optional close_proc. writer_of makes one for a file, a TCP stream or a pipe end. It is a handle that owns nothing; close on it closes the sink.

Fields

data: *void
write_proc: Write_Proc
close_proc: Close_Proc

See also