minicbor

Function decode_with

Source
pub fn decode_with<'b, C, T>(b: &'b [u8], ctx: &mut C) -> Result<T, Error>
where T: Decode<'b, C>,
Expand description

Decode a type implementing Decode from the given byte slice.