writeFromSync method

void writeFromSync (
  1. List<int> buffer,
  2. [int start = 0,
  3. int? end]
)

Synchronously writes from a buffer to the file.

Will read the buffer from index start to index end. The start must be non-negative and no greater than buffer.length. If end is omitted, it defaults to buffer.length. Otherwise end must be no less than start and no greater than buffer.length.

Throws a FileSystemException if the operation fails.

Implementation

void writeFromSync(List<int> buffer, [int start = 0, int? end]);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/RandomAccessFile/writeFromSync.html