Xojo.IO.BinaryStream.Flush

From Xojo Documentation

Method

Xojo.IO.BinaryStream.Flush()

Supported for all project types and targets.

Immediately sends the contents of internal write buffers to disk or to the output stream.