protected void deflate() throws IOException {
  int len=def.deflate(buf,0,buf.length);
  if (len > 0) {
    out.write(buf,0,len);
  }
}

protected void deflate ( ) throws IOException { int len = def . deflate ( buf , 0 , buf . length ) ; if ( len > 0 ) { out . write ( buf , 0 , len ) ; } }
writes next block of compressed data to the output stream .
