GIO Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#include <gio/gio.h> GConverterInputStream; GInputStream * g_converter_input_stream_new (GInputStream *base_stream
,GConverter *converter
); GConverter * g_converter_input_stream_get_converter (GConverterInputStream *converter_stream
);
Converter input stream implements GInputStream and allows conversion of data of various types during reading.
As of GLib 2.34, GConverterInputStream implements GPollableInputStream.
typedef struct _GConverterInputStream GConverterInputStream;
An implementation of GFilterInputStream that allows data conversion.
GInputStream * g_converter_input_stream_new (GInputStream *base_stream
,GConverter *converter
);
Creates a new converter input stream for the base_stream
.
|
a GInputStream |
|
a GConverter |
Returns : |
a new GInputStream. |
GConverter * g_converter_input_stream_get_converter
(GConverterInputStream *converter_stream
);
Gets the GConverter that is used by converter_stream
.
|
a GConverterInputStream |
Returns : |
the converter of the converter input stream. [transfer none] |
Since 2.24
"converter"
property"converter" GConverter* : Read / Write / Construct Only
The converter object.