ConverterInputStream

class ConverterInputStream(**properties: Any)

Superclasses: FilterInputStream, InputStream, Object

Implemented Interfaces: PollableInputStream

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

As of GLib 2.34, GConverterInputStream implements PollableInputStream.

Constructors

class ConverterInputStream
classmethod new(base_stream: InputStream, converter: Converter) InputStream

Creates a new converter input stream for the base_stream.

Parameters:

Methods

class ConverterInputStream
get_converter() Converter

Gets the Converter that is used by converter_stream.

Added in version 2.24.

Properties

class ConverterInputStream
props.converter: Converter

The converter object.

Fields

class ConverterInputStream
parent_instance
priv