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