pub fn as_arrays<const N: usize, T>(slice: &[T]) -> (&[[T; N]], &[T])
Splits a slice into chunks of equal size (known at compile time).
Returns the chunks and the remaining section of the input slice.