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