int readByteSync( )

Synchronously reads a single byte from the file. If end-of-file has been reached -1 is returned.

Throws a FileSystemException if the operation fails.

Source

/**
 * Synchronously reads a single byte from the file. If end-of-file
 * has been reached -1 is returned.
 *
 * Throws a [FileSystemException] if the operation fails.
 */
int readByteSync();