GBufferedOutputStream

Buffered output stream implements gio.filter_output_stream.FilterOutputStream and provides for buffered writes.

By default, gio.buffered_output_stream.BufferedOutputStream's buffer size is set at 4 kilobytes.

To create a buffered output stream, use gio.buffered_output_stream.BufferedOutputStream.new_, or gio.buffered_output_stream.BufferedOutputStream.newSized to specify the buffer's size at construction.

To get the size of a buffer within a buffered input stream, use gio.buffered_output_stream.BufferedOutputStream.getBufferSize. To change the size of a buffered output stream's buffer, use gio.buffered_output_stream.BufferedOutputStream.setBufferSize. Note that the buffer's size cannot be reduced below the size of the data within the buffer.

Members

Variables

parentInstance
GFilterOutputStream parentInstance;
priv
GBufferedOutputStreamPrivate* priv;