steal_data


Description:

public uint8[] steal_data ()

Gets any loaded data from the this.

Ownership of the data is transferred to the caller; when no longer needed it must be freed using the free function set in this's destroy_function property.

this must be closed before calling this function.

Parameters:

this

a MemoryOutputStream

Returns:

the stream's data