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 must be closed before calling this function.
Available since: 2.26