public class Message extends Object
A message sent between message endpoint connections.
Modifier and Type | Method and Description |
---|---|
static Message |
fromData(byte[] data)
Creates a message object from data.
|
byte[] |
toData()
Gets the message as data.
|
@NonNull public static Message fromData(@NonNull byte[] data)
data
- the data@NonNull public byte[] toData()