System.IO.Compression.PositionPreservingWriteOnlyStreamWrapper.PositionPreservingWriteOnlyStreamWrapper C# (CSharp) Method

PositionPreservingWriteOnlyStreamWrapper() public method

Creates a wrapper for write-only (non-readable, non-seekable) streams that keeps track of Position and allows it to be read.
public PositionPreservingWriteOnlyStreamWrapper ( Stream stream ) : System.Threading
stream Stream The underlying stream, which handles all actual writes.
return System.Threading
        public PositionPreservingWriteOnlyStreamWrapper(Stream stream)
        {
            _stream = stream;
        }