readTagName method

String readTagName()

Implementation

String readTagName() {
  final length = readShort();
  final encodedName = _byteBuffer.sublist(_position, _position + length);
  _position += length;
  return utf8.decode(encodedName);
}