int lengthSync()

Synchronously gets the length of the file.

Throws a FileSystemException if the operation fails.

Source

int lengthSync();