public DiskStream(TarFile archive, long length, string dir) { _archive = archive; _length = length; _dir = dir; if (!archive.DirExists(_dir)) { throw new IOException("No such disk"); } ReadChunkSkipList(); }
public DiskStream(TarFile archive, long length, string dir) { _archive = archive; _length = length; _dir = dir; if (!archive.DirExists(_dir)) { throw new IOException("No such disk"); } int numChunks = (int)((length + Sizes.OneMiB - 1) / Sizes.OneMiB); }