Initializes a new instance of the RebasedStream
class; the current position in stream will be the origin of the RebasedStream
.
public RebasedStream(Stream stream)
parameter | description |
---|---|
stream | The base stream. |
Initializes a new instance of the RebasedStream
class; the current position in stream will be the origin of the RebasedStream
.
public RebasedStream(Stream stream, Ownership ownership)
parameter | description |
---|---|
stream | The base stream. |
ownership | The ownership of the base stream. |