// Dictionary size 1MB, this is equivalent to lzma -4, it uses 16MB to compress and 2MB to decompress.
// Next one up is 2MB = -5 = 26M compress, 3M decompress.
encoder.SetDictionarySize( 1 << 20 );
// enc.WriteCoderProperties( out );
// 5d 00 00 10 00
encoder.Code( cis, cos, -1, -1, null );
if(logMINOR)
Logger.minor(this, "Read "+cis.count()+" written "+cos.written());
if(cos.written() > maxWriteLength)
throw new CompressionOutputSizeException();
cos.flush();