FileX extension

on

Methods

appendBytes(List<int> bytes) Future<void>
Appends an array of bytes to the content of this file.
appendString(String string, {Encoding encoding = utf8}) Future<void>
Appends a string to the content of this file using UTF-8 or the specified encoding.
forEachBlock(int blockSize, void action(Uint8List buffer)) Future<Null>
Reads file by byte blocks and calls action for each block read.