hasRemaining property Null safety

bool hasRemaining

Whether the buffer has data remaining to read.

Implementation

bool get hasRemaining => _position < data.lengthInBytes;