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.
this |
the stream's data |