string or range of characters representing the file name
The size of file in bytes.
FileException on error (e.g., file not found).
scope(exit) deleteme.remove; // create a file of size 1 write(deleteme, "a"); assert(getSize(deleteme) == 1); // create a file of size 3 write(deleteme, "abc"); assert(getSize(deleteme) == 3);
Get size of file name in bytes.