getFileSize overloads
Declared in <bdls_filesystemutil.h>
Return the size, in bytes, of the file or directory with descriptor.
static
Offset
getFileSize(FileDescriptor descriptor);
» more...
Return the size, in bytes, of the file or directory at path.
static
Offset
getFileSize(char const* path);
» more...
Return the size, in bytes, of the file or directory at path.
template<class STRING_TYPE>
static
FilesystemUtil::Offset
getFileSize(STRING_TYPE const& path);
» more...
the size in bytes, or a negative value if an error occurs
| Name | Description |
|---|---|
| descriptor | file descriptor of the file or directory |
| path | filesystem path of the file or directory |