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