serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, timeBootMs, Endian.little);
data_.setUint16(4, chan1Raw, Endian.little);
data_.setUint16(6, chan2Raw, Endian.little);
data_.setUint16(8, chan3Raw, Endian.little);
data_.setUint16(10, chan4Raw, Endian.little);
data_.setUint16(12, chan5Raw, Endian.little);
data_.setUint16(14, chan6Raw, Endian.little);
data_.setUint16(16, chan7Raw, Endian.little);
data_.setUint16(18, chan8Raw, Endian.little);
data_.setUint16(20, chan9Raw, Endian.little);
data_.setUint16(22, chan10Raw, Endian.little);
data_.setUint16(24, chan11Raw, Endian.little);
data_.setUint16(26, chan12Raw, Endian.little);
data_.setUint16(28, chan13Raw, Endian.little);
data_.setUint16(30, chan14Raw, Endian.little);
data_.setUint16(32, chan15Raw, Endian.little);
data_.setUint16(34, chan16Raw, Endian.little);
data_.setUint16(36, chan17Raw, Endian.little);
data_.setUint16(38, chan18Raw, Endian.little);
data_.setUint8(40, chancount);
data_.setUint8(41, rssi);
return data_;
}