MemoryInputStream.newFromBytes

Creates a new #GMemoryInputStream with data from the given bytes.

class MemoryInputStream
static
newFromBytes

Parameters

bytes glib.bytes.Bytes

a #GBytes

Return Value

Type: gio.memory_input_stream.MemoryInputStream

new #GInputStream read from bytes