Searched refs:as_byte_slice (Results 1 – 2 of 2) sorted by relevance
15 pub fn as_byte_slice<E: Encoding<T>, T>(x: &[E]) -> &[u8] { in as_byte_slice() function76 as_byte_slice(self).try_into().unwrap()
251 &endian::as_byte_slice(as64)[..self.algorithm.output_len] in as_ref()