openRead method

  1. @override
Stream<List<int>> openRead(
  1. String filePath
)
override

Implementation

@override
Stream<List<int>> openRead(String filePath) async* {
  if (open(filePath) case VFile file) {
    for (int i = 0; i < file.data.length; i += 250) {
      yield file.data.sublist(i, i + 250);
    }
  }
}