Gio.MemoryOutputStream.prototype.get_data_size
function get_data_size(): Number(gsize) { // Gjs wrapper for g_memory_output_stream_get_data_size() }
Returns the number of bytes from the start up to including the last byte written in the stream that has not been truncated away.
Since 2.18
- Returns
the number of bytes written to the stream