public CodingDataStorage(Internal.DataStorage storage, long start, long end, ContentTransferEncoding cte, bool encode) { storage.AddRef(); this.storage = storage; this.start = start; this.end = end; this.cte = cte; this.encode = encode; }
protected override void Dispose(bool disposing) { if (disposing && !this.IsDisposed && storage != null) { storage.Release(); storage = null; } base.Dispose(disposing); }