Gio.MemoryInputStream

const Gio = imports.gi.Gio;

let memoryInputStream = new Gio.MemoryInputStream();
  

Gio.MemoryInputStream is a class for using arbitrary memory chunks as input for GIO streaming input operations.

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

Hierarchy

  • GObject.Object
    • Gio.InputStream
      • Gio.MemoryInputStream