Initializes a new instance of the WrappingStream
class.
public WrappingStream(Stream stream, Ownership ownership)
parameter | description |
---|---|
stream | The wrapped stream. |
ownership | Use Owns if the wrapped stream should be disposed when this stream is disposed. |