Dispose inner streams
bastianeicher opened this issue · 2 comments
bastianeicher commented
Awesome library, thanks! Using this happily in 0install.
Many Streams that wrap other Streams dispose the underlying Streams when they are disposed. Often they provide an optional bool parameter to control this behaviour. Example: .NET‘s built-in GZipStream.
Could you perhaps add similar behaviour to CompressionStream
and DecompressionStream
?
oleg-st commented
Thank you for your interest!
Added leaveOpen
argument to CompressionStream
and DecompressionStream
in master
bastianeicher commented
Thanks!