Function safemem::write_bytes
source · pub fn write_bytes(slice: &mut [u8], byte: u8)Expand description
Safe wrapper for std::ptr::write_bytes()/memset().
pub fn write_bytes(slice: &mut [u8], byte: u8)Safe wrapper for std::ptr::write_bytes()/memset().