Description Methods and Functions Hierarchy Detailed Description Structures Convenient Construction Properties Author(s) References
Buffered Output Stream
gBufferedOutputStreamNew(base.stream = NULL)
gBufferedOutputStreamNewSized(base.stream, size)
gBufferedOutputStreamGetBufferSize(object)
gBufferedOutputStreamSetBufferSize(object, size)
gBufferedOutputStreamGetAutoGrow(object)
gBufferedOutputStreamSetAutoGrow(object, auto.grow)
gBufferedOutputStream(base.stream, size)
1 2 3 4 | GObject
+----GOutputStream
+----GFilterOutputStream
+----GBufferedOutputStream
|
Buffered output stream implements GFilterOutputStream
and provides
for buffered writes.
By default, GBufferedOutputStream
's buffer size is set at 4 kilobytes.
To create a buffered output stream, use gBufferedOutputStreamNew
,
or gBufferedOutputStreamNewSized
to specify the buffer's size
at construction.
To get the size of a buffer within a buffered input stream, use
gBufferedOutputStreamGetBufferSize
. To change the size of a
buffered output stream's buffer, use
gBufferedOutputStreamSetBufferSize
. Note that the buffer's
size cannot be reduced below the size of the data within the buffer.
GBufferedOutputStream
An implementation of GFilterOutputStream
with a sized buffer.
gBufferedOutputStream
is the result of collapsing the constructors of GBufferedOutputStream
(gBufferedOutputStreamNew
, gBufferedOutputStreamNewSized
) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.
auto-grow
[logical : Read / Write]Whether the buffer should automatically grow. Default value: FALSE
buffer-size
[numeric : Read / Write / Construct]The size of the backend buffer. Allowed values: >= 1 Default value: 4096
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gio/stable/GBufferedOutputStream.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.