Searched refs:write_to_prefix (Results 1 – 1 of 1) sorted by relevance
6008 fn write_to_prefix(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>> in write_to_prefix() method7030 assert_eq!(VAL.write_to_prefix(&mut bytes[..]), Ok(())); in test_read_write()7265 assert!(t.write_to_prefix(&mut vec![0; N - 1][..]).is_err()); in test_to_methods()7269 assert_eq!(t.write_to_prefix(&mut bytes[..]), Ok(())); in test_to_methods()7276 assert_eq!(t.write_to_prefix(&mut too_many_bytes[..]), Ok(())); in test_to_methods()