ConverterOutputStream

class ConverterOutputStream(**properties: Any)

Superclasses: FilterOutputStream, OutputStream, Object

Implemented Interfaces: PollableOutputStream

Converter output stream implements OutputStream and allows conversion of data of various types during reading.

As of GLib 2.34, GConverterOutputStream implements PollableOutputStream.

Constructors

class ConverterOutputStream
classmethod new(base_stream: OutputStream, converter: Converter) OutputStream

Creates a new converter output stream for the base_stream.

Parameters:

Methods

class ConverterOutputStream
get_converter() Converter

Gets the Converter that is used by converter_stream.

Added in version 2.24.

Properties

class ConverterOutputStream
props.converter: Converter

The converter object.

Fields

class ConverterOutputStream
parent_instance
priv