pub unsafe fn emplace_scalar_array<T: EndianScalar, const N: usize>(
buf: &mut [u8],
loc: usize,
src: &[T; N],
)
Expand description
Place an array of EndianScalar into the provided mutable byte slice. Performs endian conversion, if necessary.
ยงSafety
Caller must ensure s.len() >= size_of::<[T; N]>()