xWrite abstract method

void xWrite(
  1. Uint8List buffer,
  2. int fileOffset
)

Writes the buffer into this file at fileOffset, overwriting existing content or appending to it.

If, for some reason, only a part of the buffer could be written, a VfsException must be thrown.

Safety warning: Target may be a direct view over native memory that must not be used after this function returns.

Implementation

void xWrite(Uint8List buffer, int fileOffset);