Crate safemem
See all safemem's items
Safe wrappers for memory-accessing functions like std::ptr::copy().
std::ptr::copy()
Copy len elements from src_idx to dest_idx. Ranges may overlap.
len
src_idx
dest_idx
Prepend elems to vec, resizing if necessary.
elems
vec
Safe wrapper for std::ptr::write_bytes()/memset().
std::ptr::write_bytes()
memset()