It derives from <GInputStream>.
<GMemoryInputStream> is a class for
using arbitrary memory chunks as input for GIO streaming input
operations.
As of GLib 2.34, <GMemoryInputStream>
implements <GPollableInputStream>.
parent-instanceAppends bytes to data that can be read from the input stream.
Passed: a <GMemoryInputStream>.
Passed: a <GBytes>.
input data
Appends data to data that can be read from the input stream
Passed: a <GMemoryInputStream>.
Passed: a bytevector, or a list or vector, each an unsigned 8-bit integer.
input data
Passed, or left out: a procedure, or #f.
function that is called to free data, or #f
See GDestroyNotify for how it is
called.
Not passed: guile-gi gives the length of data.
length of the data, may be -1 if data is a nul-terminated string
Creates a new empty
<GMemoryInputStream>.
Returned: a <GInputStream>.
a new <GInputStream>
Creates a new <GMemoryInputStream> with
data from the given bytes.
Passed: a <GBytes>.
a <GBytes>
Returned: a <GInputStream>.
new <GInputStream> read from bytes
Creates a new <GMemoryInputStream> with
data in memory of a given size.
Passed: a bytevector, or a list or vector, each an unsigned 8-bit integer.
input data
Passed, or left out: a procedure, or #f.
function that is called to free data, or #f
See GDestroyNotify for how it is
called.
Returned: a <GInputStream>.
new <GInputStream> read from data of
len bytes.
Not passed: guile-gi gives the length of data.
length of the data, may be -1 if data is a nul-terminated string