Gio.MemoryOutputStream.prototype.get_data

function get_data(): void {
    // Gjs wrapper for g_memory_output_stream_get_data()
}
  

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.

Returns

pointer to the stream's data