readBytes method

  1. @override
Future<Uint8List> readBytes(
  1. int start,
  2. int end
)
override

Read the bytes from start to end.

Implementation

@override
Future<Uint8List> readBytes(int start, int end) async {
  await _file.setPosition(start);
  return _file.read(end - start);
}