Expand description
DExtra 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 an 11-byte LINK connect request.
- encode_
connect_ nak - Encode a 14-byte connect NAK reply.
- encode_
poll - Encode a 9-byte keepalive poll.
- encode_
poll_ echo - Encode a 9-byte poll echo (server-side reply to a client poll).
- encode_
unlink - Encode an 11-byte UNLINK request.
- encode_
voice_ data - Encode a 27-byte voice data packet.
- encode_
voice_ eot - Encode a 27-byte voice EOT packet.
- encode_
voice_ header - Encode a 56-byte voice header.