deflate.setInput(byteArray);
while (!(deflate.needsInput())) {
x += deflate.deflate(outPutBuf, x, outPutBuf.length - x);
}
deflate.finish();
while (!(deflate.finished())) {
x = x + deflate.deflate(outPutBuf, x, outPutBuf.length - x);
}
Inflater inflate = new Inflater();
byte outPutInf[] = new byte[500];