StreamMem.setOwner

void setOwner(bool owner)

Sets whether or not mem owns the backend memory buffer.

Note

owner should be true if the stream should free the backend

memory buffer when destroyed or false otherwise.

Parameters

ownertrue if this stream should own the #GByteArray or false otherwise