XMLWriter::flush
xmlwriter_flush
Flush current buffer
&reftitle.description;
&style.oop;
mixedXMLWriter::flush
boolemptytrue
&style.procedural;
mixedxmlwriter_flush
resourcexmlwriter
boolemptytrue
Flushes the current buffer.
&reftitle.parameters;
&xmlwriter.xmlwriter.description;
empty
Whether to empty the buffer or not. Default is &true;.
&reftitle.returnvalues;
If you opened the writer in memory, this function returns the generated XML buffer,
Else, if using URI, this function will write the buffer and return the number of
written bytes.