@Override public void done(){
  if (done)   return;
  if (!deflater.finished()) {
    deflater.finish();
    while (!deflater.finished())     deflate();
  }
  done=true;
  if (idatChunkWriter != null)   idatChunkWriter.close();
}

@ Override public void done ( ) { if ( done ) return ; if ( ! deflater . finished ( ) ) { deflater . finish ( ) ; while ( ! deflater . finished ( ) ) deflate ( ) ; } done = true ; if ( idatChunkWriter != null ) idatChunkWriter . close ( ) ; }
automatically called when done
