Crate safemem [] [src]

Safe wrappers for memory-accessing functions like std::ptr::copy().

Functions

copy_over

Copy len elements from src_idx to dest_idx. Ranges may overlap.

prepend

Prepend elems to vec, resizing if necessary.

write_bytes

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