public flush() as Void
Flushes buffered bytes to the OS; this is not a durable fsync guarantee.
stream.flush()