Searched refs:from_byte_slice (Results 1 – 2 of 2) sorted by relevance
100 pub fn from_byte_slice<'a>(bytes: &'a [u8]) -> BufReadIter<'a> { in from_byte_slice() method452 let mut bri = BufReadIter::from_byte_slice(&bytes[..]); in read_exact_bytes_from_slice()
57 CodedInputStream::from_buf_read_iter(BufReadIter::from_byte_slice(bytes)) in from_bytes()