position property Null safety
override
The current read position relative to the start of the buffer.
Implementation
@override
int get position => _position;
override
Implementation
@override
set position(int v) {
if (v < _position) {
rewind(_position - v);
} else if (v > _position) {
skip(v - _position);
}
}