Function safe_copy

Source
pub fn safe_copy(dst: &mut [u8], src: &[u8]) -> usize
Expand description

safe_copy regardless the size of buffer.