public void flush() throws IOException {
  other.write(buf,0,bufOff);
  bufOff=0;
  Arrays.fill(buf,(byte)0);
}

public void flush ( ) throws IOException { other . write ( buf , 0 , bufOff ) ; bufOff = 0 ; Arrays . fill ( buf , ( byte ) 0 ) ; }
flush the internal buffer to the encapsulated output stream . zero the buffer contents when done .
