incrementPosition method

  1. @override
void incrementPosition(
  1. int n
)
override

Increments position in n bytes.

  • This will affect real storage only on write or read.

Implementation

@override
void incrementPosition(int n) {
  _position += n;
  if (_position > _length) {
    _length = _position;
  }
}