serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint16(0, sequence, Endian.little);
data_.setUint16(2, sequenceOldestAvailable, Endian.little);
data_.setUint8(4, targetSystem);
data_.setUint8(5, targetComponent);
data_.setUint8(6, reason);
return data_;
}