BufferedOutputStream
Superclasses: FilterOutputStream
, OutputStream
, Object
Implemented Interfaces: Seekable
- Constructors:
BufferedOutputStream(**properties)
new(base_stream:Gio.OutputStream) -> Gio.OutputStream
new_sized(base_stream:Gio.OutputStream, size:int) -> Gio.OutputStream
Constructors
- class BufferedOutputStream
- classmethod new(base_stream: OutputStream) OutputStream
Creates a new buffered output stream for a base stream.
- Parameters:
base_stream – a
OutputStream
.
- classmethod new_sized(base_stream: OutputStream, size: int) OutputStream
Creates a new buffered output stream with a given buffer size.
- Parameters:
base_stream – a
OutputStream
.size – a
gsize
.
Methods
- class BufferedOutputStream
-
- set_auto_grow(auto_grow: bool) None
Sets whether or not the
stream
’s buffer should automatically grow. Ifauto_grow
is true, then each write will just make the buffer larger, and you must manually flush the buffer to actually write out the data to the underlying stream.- Parameters:
auto_grow – a
gboolean
.