Method

GioMemoryOutputStreamget_data_size

Declaration

gsize
g_memory_output_stream_get_data_size (
  GMemoryOutputStream* ostream
)

Description

Returns the number of bytes from the start up to including the last byte written in the stream that has not been truncated away.

Available since:2.18

Return value

Type: gsize

The number of bytes written to the stream.