writeFrom method - RandomAccessFile class - dart:io library (original) (raw)
writeFrom abstract method
Future<RandomAccessFile> writeFrom(
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.
Returns a Future<RandomAccessFile>
that completes with thisRandomAccessFile when the write completes.
Implementation
Future<RandomAccessFile> writeFrom(
List<int> buffer, [
int start = 0,
int? end,
]);