minicbor

Function len_with

Source
pub fn len_with<C, T>(x: T, ctx: &mut C) -> usize
where T: CborLen<C>,
Expand description

Calculate the length in bytes of the given value’s CBOR representation.