length property Null safety

int length

The number of bytes remaining in the buffer.

Implementation

int get length => _length - offset;