Crate safemem

Source
Expand description

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

Functionsยง

  • Copy len elements from src_idx to dest_idx. Ranges may overlap.
  • Prepend elems to vec, resizing if necessary.
  • Safe wrapper for std::ptr::write_bytes()/memset().