get_data


Description:

[ CCode ( array_length = false ) ]
public unowned uint8[] get_data ()

Gets any loaded data from the this.

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

Parameters:

this

a MemoryOutputStream

Returns:

pointer to the stream's data, or null if the data has been stolen