AsyncFile.size

long size() @trusted

Get the file size in bytes.

Returns

File size in bytes, or -1 on error.