Gio.ConverterInputStream

const Gio = imports.gi.Gio;

let converterInputStream = new Gio.ConverterInputStream({
    converter: value,
});
  

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

As of GLib 2.34, Gio.ConverterInputStream implements Gio.PollableInputStream.

Hierarchy

  • GObject.Object
    • Gio.InputStream
      • Gio.FilterInputStream
        • Gio.ConverterInputStream