BufferedOutputStream


Object Hierarchy:

GLib.BufferedOutputStream GLib.BufferedOutputStream GLib.BufferedOutputStream GLib.FilterOutputStream GLib.FilterOutputStream GLib.FilterOutputStream->GLib.BufferedOutputStream GLib.OutputStream GLib.OutputStream GLib.OutputStream->GLib.FilterOutputStream GLib.Object GLib.Object GLib.Object->GLib.OutputStream GLib.Seekable GLib.Seekable GLib.Seekable->GLib.BufferedOutputStream

Description:

[ CCode ( type_id = "g_buffered_output_stream_get_type ()" ) ]
public class BufferedOutputStream : FilterOutputStream, Seekable

Buffered output stream implements [class@Gio.

FilterOutputStream] and provides for buffered writes.

By default, `GBufferedOutputStream`'s buffer size is set at 4 kilobytes.

To create a buffered output stream, use [ctor@Gio.BufferedOutputStream.new], or [ctor@Gio.BufferedOutputStream.new_sized] to specify the buffer's size at construction.

To get the size of a buffer within a buffered input stream, use [method@Gio.BufferedOutputStream.get_buffer_size]. To change the size of a buffered output stream's buffer, use [method@Gio.BufferedOutputStream.set_buffer_size]. Note that the buffer's size cannot be reduced below the size of the data within the buffer.


Namespace: GLib
Package: gio-2.0

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.FilterOutputStream
All known members inherited from interface GLib.Seekable