pub fn decode<'b, C, T>(d: &mut Decoder<'b>, ctx: &mut C) -> Result<T, Error> where
    T: DecodeBytes<'b, C>, 
Expand description

Freestanding function calling DecodeBytes::decode_bytes.

For use in #[cbor(with = "minicbor::bytes")] or #[cbor(decode_with = "minicbor::bytes::decode")].