if(dictionarySize > MAX_DICTIONARY_SIZE) throw new TooBigDictionaryException();
Decoder decoder = new Decoder();
if(!decoder.SetDecoderProperties(props)) throw new InvalidCompressedDataException("Invalid properties");
decoder.Code(is, cos, maxLength);
//cos.flush();
return cos.written();
}
@Override
public int decompress(byte[] dbuf, int i, int j, byte[] output) throws CompressionOutputSizeException {
// Didn't work with Inflater.