nullTerminatedUtf8String property Null safety

String nullTerminatedUtf8String

Reads a null terminated string from the buffer. Returns the string, without a terminating null.

Implementation

String get nullTerminatedUtf8String => utf8.decode(nullTerminatedList);