GOutputStream

gio.output_stream.OutputStream is a base class for implementing streaming output.

It has functions to write to a stream (gio.output_stream.OutputStream.write), to close a stream (gio.output_stream.OutputStream.close) and to flush pending writes (gio.output_stream.OutputStream.flush).

To copy the content of an input stream to an output stream without manually handling the reads and writes, use gio.output_stream.OutputStream.splice.

See the documentation for gio.iostream.IOStream for details of thread safety of streaming APIs.

All of these functions have async variants too.

All classes derived from gio.output_stream.OutputStream *should* implement synchronous writing, splicing, flushing and closing streams, but *may* implement asynchronous versions.

Members

Variables

parentInstance
ObjectC parentInstance;
priv
GOutputStreamPrivate* priv;