stringToEnd property

String stringToEnd

Reads a string from the buffer, terminating when the end of the buffer is reached.

Implementation

String get stringToEnd => string(data.length - _readPos);