pub fn encode_udp(message: &UdpMessage) -> Vec<u8> ⓘExpand description
Encode a UDP voice-plane message to a decrypted packet ([type][protobuf]) —
the inverse of decode_udp, so decode_udp(&encode_udp(m)) == Ok(m).
The result is plaintext; OCB2 encryption is the caller’s job (mumble-server-runtime-crypto).