Future<RandomAccessFile> writeFrom(
List<int> buffer,
[int start,
int end]
)

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 end of buffer.

Returns a Future<RandomAccessFile> that completes with this RandomAccessFile when the write completes.

Source

/**
 * Writes from a [List<int>] 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 end of [buffer].
 *
 * Returns a [:Future<RandomAccessFile>:] that completes with this
 * [RandomAccessFile] when the write completes.
 */
Future<RandomAccessFile> writeFrom(List<int> buffer, [int start, int end]);