readString method

String readString()

Reads a length-delimited field as UTF-8.

Implementation

String readString() => utf8.decode(readBytes());