![]() |
![]() |
![]() |
GIO Reference Manual | ![]() |
---|---|---|---|---|
GBufferedOutputStream; GOutputStream* g_buffered_output_stream_new (GOutputStream *base_stream); GOutputStream* g_buffered_output_stream_new_sized (GOutputStream *base_stream, guint size); gsize g_buffered_output_stream_get_buffer_size (GBufferedOutputStream *stream); void g_buffered_output_stream_set_buffer_size (GBufferedOutputStream *stream, gsize size); gboolean g_buffered_output_stream_get_auto_grow (GBufferedOutputStream *stream); void g_buffered_output_stream_set_auto_grow (GBufferedOutputStream *stream, gboolean auto_grow);
GOutputStream* g_buffered_output_stream_new (GOutputStream *base_stream);
|
a GOutputStream. |
Returns : |
a GOutputStream for the given base_stream .
|
GOutputStream* g_buffered_output_stream_new_sized (GOutputStream *base_stream, guint size);
|
a GOutputStream. |
|
a gsize. |
Returns : |
a GOutputStream with an internal buffer set to size .
|
gsize g_buffered_output_stream_get_buffer_size (GBufferedOutputStream *stream);
|
a GBufferedOutputStream. |
Returns : |
the current size of the buffer. |
void g_buffered_output_stream_set_buffer_size (GBufferedOutputStream *stream, gsize size);
Sets the size of the internal buffer to size
.
|
a GBufferedOutputStream. |
|
a gsize. |
gboolean g_buffered_output_stream_get_auto_grow (GBufferedOutputStream *stream);
|
a GBufferedOutputStream. |
Returns : |
TRUE if the stream 's buffer automatically grows,
FALSE otherwise.
|
void g_buffered_output_stream_set_auto_grow (GBufferedOutputStream *stream, gboolean auto_grow);
Sets whether or not the stream
's buffer should automatically grow.
|
a GBufferedOutputStream. |
|
a boolean. |