is a class for using arbitrary memory chunks as output for GIO streaming output operations.
Creates a new
|the stream's data|
get_contents() method gets any loaded data
from the ostream.
Note that the returned data may become invalid on the next write or truncate operation on the stream.
|the number of bytes written to the stream|
get_data_size() method returns the number
of bytes from the start up to including the last byte written in the
stream that has not been truncated away.
|the number of bytes allocated for the data buffer|
get_size() method gets the size of the
currently allocated data area (availible from
Note that for growable streams the returned size may become invalid on the next write or truncate operation on the stream.
If you want the number of bytes currently written to the stream, use
© manpagez.com 2000-2022 Individual documents may contain additional copyright information.