It derives from <GIOStream>.
<GSimpleIOStream> creates a
<GIOStream> from an arbitrary
<GInputStream> and
<GOutputStream>. This allows any pair of
input and output streams to be used with
<GIOStream> methods.
This is useful when you obtained a
<GInputStream> and a
<GOutputStream> by other means, for instance
creating them with platform specific methods as
‘g_unix_input_stream_new()‘ (from gio-unix-2.0.pc /
GioUnix-2.0), and you want to take advantage of the methods
provided by <GIOStream>.
The <GInputStream> to read from.
Its value is a <GInputStream>, or #f.
It can only be set when the object is made, with #:input-stream.
The <GOutputStream> to write to.
Its value is a <GOutputStream>, or #f.
It can only be set when the object is made, with #:output-stream.
Creates a new <GSimpleIOStream> wrapping
input-stream and output-stream. See also
<GIOStream>.
Passed: a <GInputStream>.
Passed: a <GOutputStream>.
Returned: a <GIOStream>.
a new <GSimpleIOStream> instance.