Searched refs:as_mut_slice (Results 1 – 4 of 4) sorted by relevance
72 pub fn as_mut_slice(&mut self) -> &mut [u8] { in as_mut_slice() method
328 self.data.borrow_mut().as_mut_slice()[begin..end].copy_from_slice(buf); in write_at()
464 salt.as_mut_slice().try_fill(&mut rand::thread_rng())?; in verify_payload()
116 for chunk in key.as_mut_slice().chunks_mut(16) { in receive_public_key()