writeFromSync method
Synchronously writes from a Liststart 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]);