Gio.IOStream.prototype.get_input_stream

function get_input_stream(): Gio.InputStream {
    // Gjs wrapper for g_io_stream_get_input_stream()
}
  

Gets the input stream for this object. This is used for reading.

Since 2.22

Returns

a Gio.InputStream, owned by the Gio.IOStream. Do not free.