pub fn encode_connect_unlink(
out: &mut [u8],
callsign: &Callsign,
client_module: Module,
reflector_callsign: &Callsign,
) -> Result<usize, EncodeError>Expand description
Encode a 19-byte UNLINK request.
Layout per ircDDBGateway/Common/ConnectData.cpp:366-372
(getDCSData CT_UNLINK):
[0..7]: first 7 chars of the client callsign[7]: space padding[8]: client module letter (8th char of the repeater)[9]:0x20(space — the unlink marker)[10]:0x00[11..18]: first 7 chars of the reflector callsign[18]: space padding
§Errors
Returns EncodeError::BufferTooSmall if out.len() < 19.
§See also
ircDDBGateway/Common/ConnectData.cpp:366-372 (getDCSData
CT_UNLINK branch).