public CompressorReader(CompressorReaderSettings settings) { if (settings == null) { throw new ArgumentNullException("Settings must be non-empty"); } _settings = settings; }
private static CompressorReaderSettings CreateDefaultSettings() { CompressorReaderSettings settings = new CompressorReaderSettings { StreamsCount = 1, ChunkSize = (int)SystemInfo.Current.AllocationGranularity * 16 }; return(settings); }