getString method

String getString()

Implementation

String getString() {
  final charCount = getInt32();
  final characters = getUint8List(charCount);
  const utf8Decoder = Utf8Decoder(allowMalformed: true);
  return utf8Decoder.convert(characters);
}