Struct serde_cbor::de::SliceRead
[−]
[src]
pub struct SliceRead<'a> { /* fields omitted */ }
A CBOR input source that reads from a slice of bytes.
Methods
impl<'a> SliceRead<'a>
[src]
pub fn new(slice: &'a [u8]) -> SliceRead<'a>
[src]
Creates a CBOR input source to read from a slice of bytes.