readUtf8 method

String readUtf8(
  1. int length
)

Reads an UTF-8 string.

Implementation

String readUtf8(int length) {
  final bytes = _readUint8ListView(length);
  return utf8.decode(bytes);
}