MemoryOutputStream.stealData

Gets any loaded data from the ostream. Ownership of the data is transferred to the caller; when no longer needed it must be freed using the free function set in ostream's destroy-function property.

ostream must be closed before calling this function.

class MemoryOutputStream
void*
stealData
()

Return Value

Type: void*

the stream's data, or NULL if it has previously been stolen

Meta

Since

2.26