fn encode_parameters(
parameters: &[KeyValuePair],
buf: &mut impl BufMut,
) -> Result<(), CodecError>Expand description
Encode a Version Specific Parameter list.
The token structure is held to on the way out as well as on the way in. A value that is not the serialization its Type defines is one the receiver must close the session over, so writing it is not a way to send it — the sender’s first sign of trouble would be the session going.
Version-specific parameters only, which is where this draft’s 0x01 is the token; the setup 0x01 beside it is a PATH and its value is opaque bytes.