Function array_bytes::slice2array_unchecked
source · Expand description
Just like slice2array
but without the checking.
Examples
assert_eq!(array_bytes::slice2array_unchecked::<8, _>(&[0; 8]), [0; 8]);
Just like slice2array
but without the checking.
assert_eq!(array_bytes::slice2array_unchecked::<8, _>(&[0; 8]), [0; 8]);