file: outputstream.aus

class: GOutputStream

[22:7] extends: object

GOutputStream is a base class for implementing streaming output. It has functions to write to a stream ([method@Gio.OutputStream.write]), to close a stream ([method@Gio.OutputStream.close]) and to flush pending writes ([method@Gio.OutputStream.flush]). To copy the content of an input stream to an output stream without manually handling the reads and writes, use [method@Gio.OutputStream.splice]. See the documentation for [class@Gio.IOStream] for details of thread safety of streaming APIs. All of these functions have async variants too. All classes derived from GOutputStream should implement synchronous writing, splicing, flushing and closing streams, but may implement asynchronous versions.

Members

Methods