Example #1
0
        public CompressorReader(CompressorReaderSettings settings)
        {
            if (settings == null)
            {
                throw new ArgumentNullException("Settings must be non-empty");
            }

            _settings = settings;
        }
Example #2
0
        private static CompressorReaderSettings CreateDefaultSettings()
        {
            CompressorReaderSettings settings = new CompressorReaderSettings
            {
                StreamsCount = 1,
                ChunkSize    = (int)SystemInfo.Current.AllocationGranularity * 16
            };

            return(settings);
        }