Exemple #1
0
        private static DecompressorReaderSettings CreateDefaultSettings()
        {
            DecompressorReaderSettings settings = new DecompressorReaderSettings
            {
                ChunkSize = (int)SystemInfo.Current.AllocationGranularity * 16
            };

            return(settings);
        }
Exemple #2
0
        public DecompressorReader(DecompressorReaderSettings settings)
        {
            if (settings == null)
            {
                throw new ArgumentNullException("Settings must be non-empty");
            }

            _settings = settings;
        }