flush

fun flush()

Empties the buffer into the underlying stream and flushes that too.