deserialize method
Implementation
@override
StringMessage deserialize(ByteDataReader reader) {
//deserializes a message object of type StringMessage
final data = StringMessage();
// Deserialize message field [data]
data.data = reader.readString();
return data;
}