writeAsBytesSync abstract method

void writeAsBytesSync(
  1. List<int> bytes
)

Synchronously write the given bytes to the file. The new content will replace any existing content.

Throws a FileSystemException if the operation fails.

Implementation

void writeAsBytesSync(List<int> bytes);