Skip to main content

encode_parameters

Function encode_parameters 

Source
fn encode_parameters(
    parameters: &[KeyValuePair],
    buf: &mut impl BufMut,
) -> Result<(), CodecError>
Expand description

Encode a version-specific parameter list, refusing a repeated type and a value whose length disagrees with its type.