serialize method
void
serialize(
- ByteDataWriter writer
Implementation
void serialize(ByteDataWriter writer) {
// Serializes a message object of type UInt8MultiArray
// Serialize message field [layout]
layout.serialize(writer);
// Serialize message field [data]
writer.writeArray<int>(data, (val) => writer.writeUint8(val), specArrayLen: null);
}