Gio.ConverterOutputStream

g GObject.GInterface GObject.GInterface Gio.PollableOutputStream Gio.PollableOutputStream GObject.GInterface->Gio.PollableOutputStream GObject.Object GObject.Object Gio.OutputStream Gio.OutputStream GObject.Object->Gio.OutputStream Gio.ConverterOutputStream Gio.ConverterOutputStream Gio.FilterOutputStream Gio.FilterOutputStream Gio.FilterOutputStream->Gio.ConverterOutputStream Gio.OutputStream->Gio.FilterOutputStream Gio.PollableOutputStream->Gio.ConverterOutputStream

Subclasses:

None

Methods

Inherited:

Gio.FilterOutputStream (3), Gio.OutputStream (29), GObject.Object (37), Gio.PollableOutputStream (5)

Structs:

GObject.ObjectClass (5)

class

new (base_stream, converter)

get_converter ()

Virtual Methods

Inherited:

Gio.OutputStream (15), GObject.Object (7), Gio.PollableOutputStream (5)

Properties

Inherited:

Gio.FilterOutputStream (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.FilterOutputStream

r

Class Details

class Gio.ConverterOutputStream(**kwargs)
Bases:

Gio.FilterOutputStream, Gio.PollableOutputStream

Abstract:

No

Structure:

Gio.ConverterOutputStreamClass

Converter output stream implements [class`Gio`.OutputStream] and allows conversion of data of various types during reading.

As of GLib 2.34, GConverterOutputStream implements [iface`Gio`.PollableOutputStream].

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

a new Gio.OutputStream.

Return type:

Gio.OutputStream

Creates a new converter output stream for the base_stream.

get_converter()[source]
Returns:

the converter of the converter output stream

Return type:

Gio.Converter

Gets the Gio.Converter that is used by self.

New in version 2.24.

Property Details

Gio.ConverterOutputStream.props.converter
Name:

converter

Type:

Gio.Converter

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The converter object.