Class
GioMemoryInputStream
[−]
Description [src]
class Gio.MemoryInputStream : Gio.InputStream
implements Gio.PollableInputStream, Gio.Seekable {
/* No available fields */
}
GMemoryInputStream
is a class for using arbitrary
memory chunks as input for GIO streaming input operations.
As of GLib 2.34, GMemoryInputStream
implements
GPollableInputStream
.
[−]
Constructors
g_memory_input_stream_new_from_bytes
Creates a new GMemoryInputStream
with data from the given bytes
.
since: 2.34
g_memory_input_stream_new_from_data
Creates a new GMemoryInputStream
with data in memory of a given size.
[−]
Instance methods
g_memory_input_stream_add_bytes
Appends bytes
to data that can be read from the input stream.
since: 2.34
[+]
Methods inherited from GInputStream (19)
[+]
Methods inherited from GPollableInputStream (4)
[+]