Top |
GInputStream * | base-stream | Read / Write / Construct Only |
gboolean | close-base-stream | Read / Write / Construct |
GObject ╰── GInputStream ╰── GFilterInputStream ├── GBufferedInputStream ╰── GConverterInputStream
Base class for input stream implementations that perform some kind of filtering operation on a base stream. Typical examples of filtering operations are character set conversion, compression and byte order flipping.
GInputStream *
g_filter_input_stream_get_base_stream (GFilterInputStream *stream
);
Gets the base stream for the filter stream.
gboolean
g_filter_input_stream_get_close_base_stream
(GFilterInputStream *stream
);
Returns whether the base stream will be closed when stream
is
closed.
void g_filter_input_stream_set_close_base_stream (GFilterInputStream *stream
,gboolean close_base
);
Sets whether the base stream will be closed when stream
is closed.
“base-stream”
property“base-stream” GInputStream *
The underlying base stream on which the io ops will be done.
Flags: Read / Write / Construct Only
“close-base-stream”
property“close-base-stream” gboolean
If the base stream should be closed when the filter stream is closed.
Flags: Read / Write / Construct
Default value: TRUE