This method of the ActiveXOutputStream Class flushes the output stream and forces buffered output bytes to be written out.
public void flush() throws IOException;
IOException if an I/O error occurs.