List<int> readAsBytesSync( )

Synchronously read the entire file contents as a list of bytes.

Throws a FileSystemException if the operation fails.

Source

/**
 * Synchronously read the entire file contents as a list of bytes.
 *
 * Throws a [FileSystemException] if the operation fails.
 */
List<int> readAsBytesSync();