Skip to main content

with_scratch_dyn

Function with_scratch_dyn 

Source
fn with_scratch_dyn(size: usize, f: &mut dyn FnMut(&mut [u8]))
Expand description

Calls f with a zeroed block of size bytes, through a trait object so that the buckets below are compiled once rather than once per caller.