write method
Writes a chunk from bytes
into the file at path path
and offset
offset
.
Implementation
@override
void write(String path, Uint8List bytes, int offset) {
final type = _recognizeType(path);
if (type == null) {
_memory.write(path, bytes, offset);
} else {
_files[type]!.write(bytes, FileSystemReadWriteOptions(at: offset));
}
}