remaining property

int get remaining

The remaining bytes to read from position to the end of the buffer.

Implementation

int get remaining => length - position;