open static method
Opens path for random-access reading.
Implementation
static Future<FileByteSource> open(String path) async {
final file = await File(path).open();
final length = await file.length();
return FileByteSource._(file, length, path);
}