flush

fun flush()

Flush any buffered data to the underlying document writer.

Throws

If an I/O exception occurs.