lexical_util::algorithm

Function 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.