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

Methods

Inherited:

Gio.FilterInputStream (3), Gio.InputStream (19), GObject.Object (37), Gio.PollableInputStream (4)

Structs:

GObject.ObjectClass (5)

class

new (base_stream, converter)

get_converter ()

Virtual Methods

Inherited:

Gio.InputStream (9), GObject.Object (7), Gio.PollableInputStream (4)

Properties

Inherited:

Gio.FilterInputStream (2)

Name

Type

Flags

Short Description

converter

Gio.Converter

r/w/co

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 [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:
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.