nn::fs::FileStream::Finalize Member Functionvoid Finalize();
None.
Closes a file. It does nothing if a file is not open.
If this function is called while written data has not been flushed, a panic results except for Release builds. Be sure to correctly flush written data by calling TryFlush before calling this function.
CONFIDENTIAL