Documentation for method
out-buffer assembled from the following types:
multi method out-buffer(|)
method out-buffer(--> Int) is rw
Controls output buffering and can be set via an argument to open. Takes an
int as the size of the buffer to use (zero is acceptable). Can take a Bool:
True means to use default, implementation-defined buffer size;
False means to disable buffering (equivalent to using
0 as buffer size).
Lastly, can take a
Nil to enable TTY-based buffering control: if the handle is a TTY, the buffering is disabled, otherwise, default, implementation-defined buffer size is used.
See flush to write out data currently in the buffer. Changing buffer size flushes the filehandle.
given 'foo'.IO.open: :w, :1000out-buffer