public long decompress(InputStream is, OutputStream os, long maxLength, long maxCheckSizeBytes) throws IOException, CompressionOutputSizeException {
CountedOutputStream cos = new CountedOutputStream(os);
Decoder decoder = new Decoder();
decoder.SetDecoderProperties(props);
decoder.Code(is, cos, maxLength);
return cos.written();
}
@Override
public int decompress(byte[] dbuf, int i, int j, byte[] output) throws CompressionOutputSizeException {
// Didn't work with Inflater.