pub fn new(slice: &'a [u8]) -> SliceRead<'a> {
        SliceRead {
            slice,
            index: 0,
        }
    }
/// Creates a CBOR input source to read from a slice of bytes.
Creates a CBOR input source to read from a slice of bytes.
Creates a CBOR input source to read from a slice of bytes .
pub fn new(slice: &'a [u8]) -> SliceRead<'a> {
        SliceRead {
            slice,
            index: 0,
        }
    }
pub fn new ( slice : & ' a [ u8 ] ) -> SliceRead < ' a > { SliceRead { slice , index : 0 , } }
Creates a CBOR input source to read from a slice of bytes.
Creates a CBOR input source to read from a slice of bytes .
slice
&'a [u8]
slice
&'a [u8]