TypeMessage constructor
Implementation
TypeMessage(Uint8List bytes,Encoding encoding) {
final reader = ByteDataReader()..add(bytes);
// reading order matters
dataType = reader.readUint32();
nameSpace = reader.decodeString(encoding);
name = reader.decodeString(encoding);
}