Expand description
DCS packet encoders.
Every encoder writes into a caller-supplied &mut [u8] and returns
the number of bytes written. Hot-path encoding is allocation-free.
Functionsยง
- encode_
connect_ ack - Encode a 14-byte connect ACK reply.
- encode_
connect_ link - Encode a 519-byte LINK request.
- encode_
connect_ nak - Encode a 14-byte connect NAK reply.
- encode_
connect_ unlink - Encode a 19-byte UNLINK request.
- encode_
poll_ reply - Encode a 17-byte poll (keepalive) reply.
- encode_
poll_ request - Encode a 17-byte poll (keepalive) request.
- encode_
voice - Encode a 100-byte voice frame.