GMemoryOutputStream
. gMemoryOutputStreamNew(len)
len
data
GOutputStream
] A newly created GMemoryOutputStream
object.data
NULL
data
is non-NULL
, the stream will use that for its internal storage.
If realloc.fn
is non-NULL
, it will be used for resizing the internal
storage when necessary. To construct a fixed-size output stream,
pass NULL
as realloc.fn
.
## a stream that can grow stream <- gMemoryOutputStream(0)## fixed-size streams are not supported