Пример #1
0
        public L7cArchiveFileInfo(Stream fileData, string filePath, IList <L7cChunkEntry> chunks, L7cFileEntry entry) :
            base(fileData, filePath)
        {
            _chunkStream = new ChunkStream(fileData, entry.decompSize, ChunkInfo.ParseEntries(chunks));

            Chunks = chunks;
            Entry  = entry;
        }
Пример #2
0
        public L7cArchiveFileInfo(Stream fileData, string filePath, IList <L7cChunkEntry> chunks, L7cFileEntry entry) :
            base(new ChunkStream(fileData, entry.decompSize, ChunkInfo.ParseEntries(chunks)), filePath)
        {
            _origStream      = fileData;
            _usesCompression = ((ChunkStream)FileData).UsesCompression;

            Chunks = chunks;
            Entry  = entry;
        }