Method
fill
(
&mut self,
function_name: &SmallString,
nonce: u64,
function_params: &SmallString,
)
Source from the content-addressed store, hash-verified
| 22 | /// This function is unsafe because it writes to a union type. |
| 23 | #[inline(always)] |
| 24 | pub unsafe fn fill<const N: usize>( |
| 25 | &mut self, |
| 26 | function_name: &SmallString, |
| 27 | nonce: u64, |
| 28 | function_params: &SmallString, |
| 29 | ) { |
| 30 | let o = self.fill_sponge::<N>(function_name, nonce, function_params); |
| 31 | self.chars[o] = 0x01; |
| 32 | } |
| 33 | |
| 34 | /// # Safety |
| 35 | /// |
Tested by
no test coverage detected