Function minicbor::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.