serializeV2

abstract fun serializeV2(): ByteArray

Serializes the message to a ByteArray according to MAVLink v2 scheme. Extensions are also serialized and payload truncation is applied.