decode_server_to_client

Function decode_server_to_client 

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

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

§Errors

Same as decode_client_to_server, but produces ServerPacket variants. The 14-byte ACK/NAK reply length is only accepted here.

§See also

ircDDBGateway/Common/DExtraProtocolHandler.cpp — the reference parser for the server-side DExtra wire format.