Trait minicbor::bytes::DecodeBytes
source · [−]pub trait DecodeBytes<'b>: Sized {
fn decode_bytes(d: &mut Decoder<'b>) -> Result<Self, Error>;
fn nil() -> Option<Self> { ... }
}
Expand description
Like Decode
but specific for decoding from byte slices.