gMemoryOutputStreamGetSize: gMemoryOutputStreamGetSize

Description Usage Arguments Details Value Author(s)

View source: R/gioFuncs.R

Description

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.

Usage

1

Arguments

object

a GMemoryOutputStream

Details

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.

Value

[numeric] the number of bytes allocated for the data buffer

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.