availableLengthInBytes property

int availableLengthInBytes

Returns the number of bytes remaining.

Implementation

int get availableLengthInBytes => _byteData.lengthInBytes - index;