readInto method

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

Implementation

@override
int readInto(Uint8List buffer, [int? end]) {
  final size = _ramFileData.readIntoSync(
    buffer,
    _readPosition,
    end == null ? null : end + _readPosition,
  );
  _readPosition += size;
  return size;
}