Commit a file to disk, and optionally truncate off extra pre‐allocated bytes if final.
Synopsis
Declared in <flatfile.h>
bool
Flush(
FlatFilePos const& pos,
bool finalize = false) const;
Return Value
true on success, false on failure.
Parameters
Name |
Description |
pos [in] |
The first unwritten position in the file to be flushed. |
finalize [in] |
True if no more data will be written to this file. |
Created with MrDocs