readLengthCodedString method

String? readLengthCodedString()

Returns a length coded string, read from the buffer.

Implementation

String? readLengthCodedString() {
  var length = readLengthCodedBinary();
  if (length == null) {
    return null;
  }
  return readString(length);
}