Gio.ConverterOutputStream

const Gio = imports.gi.Gio;

let converterOutputStream = new Gio.ConverterOutputStream({
    converter: value,
});
  

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

As of GLib 2.34, Gio.ConverterOutputStream implements Gio.PollableOutputStream.

Hierarchy

  • GObject.Object
    • Gio.OutputStream
      • Gio.FilterOutputStream
        • Gio.ConverterOutputStream