Returns the size of a file in bytes.
Example:
var path = new Path ("/tmp/file.txt");
int64 sz = Files.size (path);
| path |
path to the file. |
|
file size in bytes, or -1 on error. |