XMLWriter::flush Flush current buffer &reftitle.description; &style.oop; XMLWriter mixedflush boolempty &style.procedural; mixedxmlwriter_flush resourcexmlwriter boolempty Flushes the current buffer. &reftitle.parameters; &xmlwriter.xmlwriter.description; empty Whether to empty the buffer or no. 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.