toString method
Converts the buffer up to the first null terminator into a Dart String.
Implementation
@override
String toString() {
int len = 0;
while (len < _data.length && _data[len] != 0) {
len++;
}
return utf8.decode(_data.sublist(0, len), allowMalformed: true);
}