Get the size of a file by scanning it.
Declared in <util/fs_helpers.h>
std::streampos
GetFileSize(
char const* path,
std::streamsize max = std::numeric_limits<std::streamsize>::max());
The file size or max
| Name | Description |
|---|---|
| path [in] | The file path |
| max [in] | Stop seeking beyond this limit |