int lengthSync()

Synchronously get the length of the file.

Throws a FileSystemException if the operation fails.

Source

int lengthSync();