@override ByteData serialize() { var data_ = ByteData(mavlinkEncodedLength); data_.setUint16(0, mode, Endian.little); data_.setUint16(2, shotState, Endian.little); return data_; }