safemem

Function write_bytes

Source
pub fn write_bytes(slice: &mut [u8], byte: u8)
Expand description

Safe wrapper for std::ptr::write_bytes()/memset().