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 FilterOutputStream and provides for
buffered writes.
By default, BufferedOutputStream 's buffer size is set at 4 kilobytes.
To create a buffered output stream, use
BufferedOutputStream , or
BufferedOutputStream.sized to specify the buffer's size at construction.
To get the size of a buffer within a buffered input stream, use
get_buffer_size . To change the size of a buffered output stream's buffer, use
set_buffer_size . Note that the buffer's size cannot be reduced
below the size of the data within the buffer.
Content:
Properties:
Creation methods:
Methods:
public bool get_auto_grow ()
Checks if the buffer automatically grows as data is added.
public size_t get_buffer_size ()
Gets the size of the buffer in the this
.
public void set_auto_grow (bool auto_grow)
Sets whether or not the this 's
buffer should automatically grow.
public void set_buffer_size (size_t size)
Sets the size of the internal buffer to size
.
Inherited Members:
All known members inherited from class GLib.FilterOutputStream
All known members inherited from class GLib.OutputStream
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface GLib.Seekable