write method

  1. @override
void write(
  1. String path,
  2. Uint8List bytes,
  3. int offset
)
override

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));
  }
}