read method
Read the bytes of a file It is best not to open debug mode, otherwise the byte data is too large and the output results in IDE cards, 😄
Implementation
Future<List<int>> read(
String path, {
void Function(int count, int total)? onProgress,
CancelToken? cancelToken,
}) {
return this.c.wdReadWithBytes(
this,
path,
onProgress: onProgress,
cancelToken: cancelToken,
);
}