StreamMem.setOwner

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.

class StreamMem
void
setOwner
(
bool owner
)

Parameters

owner bool

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