This library provides an external buffering mechanism. OmniMark programmers can use this library when they need to have control over releasing the memory used to buffer data.
This library contains one data type, one string source function
and one string sink function
,
as follows:
reader
is a string source function
that reads the data previously written to
the buffer passed to it.
writer
is a string sink function
that writes data to the buffer passed to it.
To use OMIOBUF, you must import it into your program using an import declaration such as:
import "omiobuf.xmd" prefixed by io.