gMemoryOutputStreamGetSize
Gets the size of the currently allocated data area (availible from
gMemoryOutputStreamGetData
). If the stream isn't
growable (no realloc was passed to gMemoryOutputStreamNew
) then
this is the maximum size of the stream and further writes
will return G_IO_ERROR_NO_SPACE
.
gMemoryOutputStreamGetSize(object)
|
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
gMemoryOutputStreamGetDataSize
.
[numeric] the number of bytes allocated for the data buffer
Derived by RGtkGen from GTK+ documentation
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.