Method

GioMemoryOutputStreamget_data

Declaration [src]

gpointer
g_memory_output_stream_get_data (
  GMemoryOutputStream* ostream
)

Description [src]

Gets any loaded data from the ostream.

Note that the returned pointer may become invalid on the next write or truncate operation on the stream.

Return value

Type: gpointer

Pointer to the stream’s data, or NULL if the data has been stolen.

The returned data is owned by the instance.
The return value can be NULL.