Expand description
Encoding utilities: LEB128, length-value concatenation, and ordered concatenation.
These implement the encoding functions specified in draft-irtf-cfrg-cpace.
Functionsยง
- leb128_
encode - Encode a
usizevalue using unsigned LEB128 encoding. - lv_cat
- Length-value concatenation: concatenate
prepend_len(arg)for each argument. - o_cat
- Ordered concatenation of two byte slices.
- prepend_
len - Prepend the LEB128-encoded length of
datatodata.