gio.memory_input_stream

Module for [MemoryInputStream] class

Types 3

[gio.memory_input_stream.MemoryInputStream] is a class for using arbitrary memory chunks as input for GIO streaming input operations.

As of GLib 2.34, [gio.memory_input_stream.MemoryInputStream] implements [gio.pollable_input_stream.PollableInputStream].

Methods
GType _gType() @property
MemoryInputStream self()Returns `this`, for use in `with` statements.
MemoryInputStreamGidBuilder builder()Get builder for [gio.memoryinputstream.MemoryInputStream] Returns: New builder object
gio.memory_input_stream.MemoryInputStream newFromBytes(glib.bytes.Bytes bytes)Creates a new #GMemoryInputStream with data from the given bytes.
void addBytes(glib.bytes.Bytes bytes)Appends bytes to data that can be read from the input stream.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new empty #GMemoryInputStream. Returns: a new #GInputStream

Fluent builder for [gio.memory_input_stream.MemoryInputStream]