Skip to main content

copy_nonoverlapping

Function copy_nonoverlapping 

Source
pub unsafe fn copy_nonoverlapping(dst: *mut u8, src: *const u8, len: usize)
Expand description

Copy bytes from src to dst. The regions must not overlap.

ยงSafety

src and dst must be valid for len bytes and must not overlap.