appendStringUtf8

appendStringUtf8(data: StringUtf8);

The appendStringUtf8 method of the JadeGenericMessage class adds the UTF8 text in the data parameter to the end of the message body.

A message can be constructed by calling the appendStringUtf8 method a number of times. You can call the appendStringUtf8 method before or after calling the appendBinary, appendString, and appendStringAsUtf8 methods or directly assigning a value to the body property. If you call the appendStringUtf8 method before or after calling the appendBodyTuple method, an exception is raised.