dart / 1 / dart-io / randomaccessfile / writebytesync.html

writeByteSync abstract method

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

int writeByteSync(int value);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-io/RandomAccessFile/writeByteSync.html