:right-sidebar: True ConverterOutputStream =================================================================== .. currentmodule:: gi.repository.Gio .. class:: ConverterOutputStream(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gio.FilterOutputStream`, :class:`~gi.repository.Gio.OutputStream`, :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gio.PollableOutputStream` Converter output stream implements :obj:`~gi.repository.Gio.OutputStream` and allows conversion of data of various types during reading. As of GLib 2.34, ``GConverterOutputStream`` implements :obj:`~gi.repository.Gio.PollableOutputStream`. Constructors ------------ .. rst-class:: interim-class .. class:: ConverterOutputStream :no-index: .. classmethod:: new(base_stream: ~gi.repository.Gio.OutputStream, converter: ~gi.repository.Gio.Converter) -> ~gi.repository.Gio.OutputStream Creates a new converter output stream for the ``base_stream``. :param base_stream: a :obj:`~gi.repository.Gio.OutputStream` :param converter: a :obj:`~gi.repository.Gio.Converter` Methods ------- .. rst-class:: interim-class .. class:: ConverterOutputStream :no-index: .. method:: get_converter() -> ~gi.repository.Gio.Converter Gets the :obj:`~gi.repository.Gio.Converter` that is used by ``converter_stream``. .. versionadded:: 2.24 Properties ---------- .. rst-class:: interim-class .. class:: ConverterOutputStream :no-index: .. attribute:: props.converter :type: ~gi.repository.Gio.Converter The type of the None singleton. Fields ------ .. rst-class:: interim-class .. class:: ConverterOutputStream :no-index: .. attribute:: parent_instance .. attribute:: priv