Gio.MemoryInputStream.new_from_bytes
function new_from_bytes(bytes: ByteArray): Gio.InputStream {
// Gjs wrapper for g_memory_input_stream_new_from_bytes()
}
Creates a new Gio.MemoryInputStream with data from the given bytes.
Since 2.34
- bytes
- Returns
new Gio.InputStream read from bytes