readInto method

  1. @override
int readInto(
  1. Uint8List buffer, [
  2. int? end
])
override

Implementation

@override
int readInto(Uint8List buffer, [int? end]) {
  if (_file == null) {
    _open();
  }
  final size = _file!.readIntoSync(buffer, 0, end);
  _position += size;
  return size;
}