method
writeByteSync

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.