decode_client_to_server

Function decode_client_to_server 

Source
pub fn decode_client_to_server(
    bytes: &[u8],
    sink: &mut dyn DiagnosticSink,
) -> Result<ClientPacket, DExtraError>
Expand description

Decode a UDP datagram sent from a DExtra client (client → server).

§Errors

§See also

ircDDBGateway/Common/DExtraProtocolHandler.cpp — the reference parser this decoder mirrors. xlxd/src/cdextraprotocol.cpp is a mirror reference.