/// <exception cref="System.IO.IOException"></exception> internal virtual void Open(PackParser.Source source, long inflatedSize) { this.src = source; this.expectedSize = inflatedSize; this.actualSize = 0; this.p = this._enclosing.Fill(this.src, 1); this.inf.SetInput(this._enclosing.buf, this.p, this._enclosing.bAvail); }
/// <exception cref="System.IO.IOException"></exception> protected internal override void OnObjectData(PackParser.Source src, byte[] raw, int pos, int len) { crc.Update(raw, pos, len); }