Gio.ConverterInputStream

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

Properties

Inherited:Gio.FilterInputStream (2)
Name Type Flags Short Description
converter Gio.Converter r/w/co The converter object

Signals

Inherited:GObject.Object (1)

Fields

Inherited:GObject.Object (1)
Name Type Access Description
parent_instance Gio.FilterInputStream r  

Class Details

class Gio.ConverterInputStream(**kwargs)
Bases:Gio.FilterInputStream, Gio.PollableInputStream
Abstract:No
Structure:Gio.ConverterInputStreamClass

Converter input stream implements Gio.InputStream and allows conversion of data of various types during reading.

As of GLib 2.34, Gio.ConverterInputStream implements Gio.PollableInputStream.

classmethod new(base_stream, converter)[source]
Parameters:
Returns:

a new Gio.InputStream.

Return type:

Gio.InputStream

Creates a new converter input stream for the base_stream.

get_converter()[source]
Returns:the converter of the converter input stream
Return type:Gio.Converter

Gets the Gio.Converter that is used by self.

New in version 2.24.

Property Details

Gio.ConverterInputStream.props.converter
Name:converter
Type:Gio.Converter
Default Value:None
Flags:READABLE, WRITABLE, CONSTRUCT_ONLY

The converter object