klyn.io.FileOutputStream.flush
method
public flush() as Void
Description

Flushes buffered bytes to the OS; this is not a durable fsync guarantee.

Throws
  • IOException if the stream is closed or flushing fails.
Example

stream.flush()