Searched refs:try_ref_from_suffix (Results 1 – 1 of 1) sorted by relevance
2111 fn try_ref_from_suffix(source: &[u8]) -> Result<(&[u8], &Self), TryCastError<&[u8], Self>> in try_ref_from_suffix() method7582 let (rest, r): (&[u8], &u32) = u32::try_ref_from_suffix(bytes).unwrap(); in test_try_ref_from_prefix_suffix()