serialize method
void
serialize(
- ByteDataWriter writer
Implementation
void serialize(ByteDataWriter writer) {
// Serializes a message object of type UInt16
// Serialize message field [data]
writer.writeUint16(data);
}