public protocol Serializable: Message

A Message that is serializable. In other words: that can be transformed into a binary format, ready to be sent to another device. Serializable messages use the Message.title and Serializable.dataBytes properties to compute the serialized message.

  • The part of the serialized message starting after the 4 Message.title bytes. This property is used by the Serializable.serialize() method



    var dataBytes: [UInt8]