/// <exception cref="System.IO.IOException"></exception> public override int Read(byte[] b, int off, int len) { int n = wc.Copy(pack, pos, b, off, len); pos += n; return(n); }
/// <exception cref="System.IO.IOException"></exception> private void ReadFully(long position, byte[] dstbuf, int dstoff, int cnt, WindowCursor curs) { if (curs.Copy(this, position, dstbuf, dstoff, cnt) != cnt) { throw new EOFException(); } }