Function lexical_util::algorithm::copy_to_dst

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

Copy bytes from source to destination.

This is only used in our compact and radix integer formatted, so performance isn’t the highest consideration here.