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