readString method

String readString()

Implementation

String readString() {
  int length = readInt();
  List<int> bytes = readBytes(length);
  return utf8.decode(bytes);
}