Function minicbor::bytes::decode [−][src]
pub fn decode<'b, T>(d: &mut Decoder<'b>) -> Result<T, Error> where
T: DecodeBytes<'b>,
Freestanding function calling DecodeBytes::decode_bytes
.
For use in #[cbor(with = "minicbor::bytes")]
or #[cbor(decode_with = "minicbor::bytes::decode")]
.