Share via


BinaryIo.finalize Method

Closes the file and, if data was written, flushes the file buffers to disk.

Syntax

public void finalize()

Run On

Called

Remarks

The object is typically finalized by leaving the scope, so finalize is typically not called directly.

Written output will not be valid before the object is finalized.

See Also

Reference

BinaryIo Class