W3cubDocs

/Dart 2

writeFromSync method

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

Synchronously writes from a List to the file. It will read the buffer from index start to index end. If start is omitted, it'll start from index 0. If end is omitted, it will write to the end of buffer.

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.dartlang.org/stable/2.0.0/dart-io/RandomAccessFile/writeFromSync.html