Initializes a new instance of the WrappingStreamBase
class.
protected WrappingStreamBase(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. |