Ejemplo n.º 1
0
        public X3ArchiveFileInfo(Stream fileData, string filePath, X3FileEntry entry) : base(entry.IsCompressed ? new X3CompressedStream(fileData) : fileData, filePath)
        {
            _rawStream = fileData;

            ShouldCompress = entry.IsCompressed;
            Entry          = entry;
        }
Ejemplo n.º 2
0
 public X3ArchiveFileInfo(Stream fileData, string filePath,
                          X3FileEntry entry, int firstBlockSize) :
     base(fileData, filePath)
 {
     Entry          = entry;
     FirstBlockSize = firstBlockSize;
 }
Ejemplo n.º 3
0
 public X3ArchiveFileInfo(Stream fileData, string filePath,
                          IKompressionConfiguration configuration, long decompressedSize,
                          X3FileEntry entry, int firstBlockSize) :
     base(fileData, filePath, configuration, decompressedSize)
 {
     Entry          = entry;
     FirstBlockSize = firstBlockSize;
 }