Searched refs:peek_bytes (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/quiche/src/ |
D | octets.rs | 246 pub fn peek_bytes(&self, len: usize) -> Result<Octets> { in peek_bytes() method 524 pub fn peek_bytes(&mut self, len: usize) -> Result<Octets> { in peek_bytes() method 844 fn peek_bytes() { in peek_bytes() function 850 assert_eq!(b.peek_bytes(5).unwrap().as_ref(), [1, 2, 3, 4, 5]); in peek_bytes() 854 assert_eq!(b.peek_bytes(5).unwrap().as_ref(), [1, 2, 3, 4, 5]); in peek_bytes() 868 assert_eq!(b.peek_bytes(5).unwrap().as_ref(), [1, 2, 3, 4, 5]); in peek_bytes_mut() 872 assert_eq!(b.peek_bytes(5).unwrap().as_ref(), [1, 2, 3, 4, 5]); in peek_bytes_mut()
|
/external/rust/crates/arbitrary/src/ |
D | unstructured.rs | 466 pub fn peek_bytes(&self, size: usize) -> Option<&'a [u8]> { in peek_bytes() method
|
D | lib.rs | 787 match str::from_utf8(&u.peek_bytes(size).unwrap()) { in arbitrary()
|
/external/rust/crates/arbitrary/ |
D | CHANGELOG.md | 100 * Added the `Unstructured::peek_bytes` method.
|