(
&mut self,
offset: usize,
s: &SmallString,
)
| 71 | /// This function is unsafe because it writes to a union type. |
| 72 | #[inline(always)] |
| 73 | pub unsafe fn fill_sponge_single<const N: usize>( |
| 74 | &mut self, |
| 75 | offset: usize, |
| 76 | s: &SmallString, |
| 77 | ) -> usize { |
| 78 | let n = if N == 0 { s.length } else { N }; |
| 79 | self.chars[offset..][..n].copy_from_slice(&s.data[..n]); |
| 80 | s.length |
| 81 | } |
| 82 | |
| 83 | /// # Safety |
| 84 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected