Function lexical_util::algorithm::copy_to_dst

source ·
pub unsafe fn copy_to_dst<Bytes: AsRef<[u8]>>(
    dst: &mut [u8],
    src: Bytes,
) -> usize
Expand description

Copy bytes from source to destination.

§Safety

Safe as long as dst is larger than src.