Expand description
DCS packet decoders.
Both directions โ decode_client_to_server parses packets a
client would send, decode_server_to_client parses packets a
reflector would send.
Lenient: recoverable malformations push Diagnostics to the
supplied sink but still return a parsed packet. Only fatal errors
(wrong length, missing magic, zero stream id, invalid module byte)
return Err.
Functionsยง
- decode_
client_ to_ server - Decode a UDP datagram sent from a
DCSclient (client โ server). - decode_
server_ to_ client - Decode a UDP datagram sent from a
DCSreflector (server โ client).