Gio.ConverterInputStream - Classes - Gio 2.0 (original) (raw)
g GObject.GInterface GObject.GInterface Gio.PollableInputStream Gio.PollableInputStream GObject.GInterface->Gio.PollableInputStream GObject.Object GObject.Object Gio.InputStream Gio.InputStream GObject.Object->Gio.InputStream Gio.ConverterInputStream Gio.ConverterInputStream Gio.FilterInputStream Gio.FilterInputStream Gio.FilterInputStream->Gio.ConverterInputStream Gio.InputStream->Gio.FilterInputStream Gio.PollableInputStream->Gio.ConverterInputStream
Subclasses:
None
Methods¶
Inherited:
Gio.FilterInputStream (3), Gio.InputStream (19), GObject.Object (37), Gio.PollableInputStream (4)
Structs:
class | new (base_stream, converter) |
---|---|
get_converter () |
Virtual Methods¶
Inherited:
Gio.InputStream (9), GObject.Object (7), Gio.PollableInputStream (4)
Properties¶
Inherited:
Name | Type | Flags | Short Description |
---|---|---|---|
converter | Gio.Converter | r/w/co |
Signals¶
Inherited:
Fields¶
Inherited:
Name | Type | Access | Description |
---|---|---|---|
parent_instance | Gio.FilterInputStream | r |
Class Details¶
class Gio.ConverterInputStream(**kwargs)¶
Bases:
Gio.FilterInputStream, Gio.PollableInputStream
Abstract:
No
Structure:
Converter input stream implements [class`Gio`.InputStream] and allows conversion of data of various types during reading.
As of GLib 2.34, GConverterInputStream
implements [iface`Gio`.PollableInputStream].
classmethod new(base_stream, converter)[source]¶
Parameters:
- base_stream (Gio.InputStream) – a Gio.InputStream
- converter (Gio.Converter) – a Gio.Converter
Returns:
a new Gio.InputStream.
Return type:
Creates a new converter input stream for the base_stream.
Returns:
the converter of the converter input stream
Return type:
Gets the Gio.Converter that is used by self.
New in version 2.24.
Property Details¶
Gio.ConverterInputStream.props.converter¶
Name:
converter
Type:
Default Value:
Flags:
READABLE, WRITABLE, CONSTRUCT_ONLY
The converter object.