|
|||||
|
||||||
Related Syntax | Other Library Functions |
function |
iobuf.writer |
Library: General, Buffers (OMIOBUF)
Import: omiobuf.xmd |
Return type: output Returns: A writable output target for streaming data. |
export external output function writer value buffer buf
Use the writer
external output function to write data to the buffer
passed to it.
To use omiobuf, you must import it into your program using a statement like this:
import "omiobuf.xmd" prefixed by io.
(Please see the import
topic
for more on importing.)
; Open a buffer and attach it to a stream. Write data to the ; buffer via the stream. Close it, and then use the data by ; reading it from the buffer. import "omiobuf.xmd" prefixed by io. global io.buffer b global stream s process open s as io.writer of b ; write data to "s" close s output io.reader of b
Related Syntax iobuf.buffer iobuf.reader |
Other Library Functions iobuf.buffer iobuf.reader iobuf.writer |