lengthSync method

  1. @override
int lengthSync()

The length of the file provided synchronously.

Throws a FileSystemException if the operation fails.

Implementation

@override
int lengthSync() {
  return readAsBytesSync().length;
}