pub fn slice2array<T, const N: usize>(slice: &[T]) -> Result<[T; N]>where T: Copy,
&[T] to [T; N].
&[T]
[T; N]
assert_eq!(array_bytes::slice2array::<_, 8>(&[0; 8]), Ok([0; 8]));