protected void deflate() throws IOException {
  int byteCount;
  while ((byteCount=def.deflate(buf)) != 0) {
    out.write(buf,0,byteCount);
  }
}

protected void deflate ( ) throws IOException { int byteCount ; while ( ( byteCount = def . deflate ( buf ) ) != 0 ) { out . write ( buf , 0 , byteCount ) ; } }
compress the data in the input buffer and write it to the underlying stream .
