/// <summary> /// Opens the archive stream for reading. Returns a DuplicateStream instance, /// so the stream may be virtually opened multiple times. /// </summary> /// <param name="archiveNumber">The archive number to open (ignored; 0 is assumed).</param> /// <param name="archiveName">The name of the archive being opened.</param> /// <param name="compressionEngine">Instance of the compression engine doing the operations.</param> /// <returns>A stream from which archive bytes are read.</returns> public Stream OpenArchiveReadStream(int archiveNumber, string archiveName, CompressionEngine compressionEngine) { return(new DuplicateStream(archiveStream)); }