int writeByteSync(
int value
)

Synchronously writes a single byte to the file. Returns the number of bytes successfully written.

Throws a FileSystemException if the operation fails.

Source

/**
 * Synchronously writes a single byte to the file. Returns the
 * number of bytes successfully written.
 *
 * Throws a [FileSystemException] if the operation fails.
 */
int writeByteSync(int value);