StreamFilter.setOwner

void setOwner(bool owner)

Sets whether or not stream owns the source stream..

Note

owner should be true if the stream should close() the

backend source stream when destroyed or false otherwise.

Parameters

ownertrue if this stream should own the source stream or false otherwise