macro_rules! dyn2array { ($dyn : expr, $len : expr) => { ... }; }
Slice/Vec(Bytes) to [u8; _]
Slice
Vec
Bytes
[u8; _]
assert_eq!([0; 8], array_bytes::dyn2array!(vec![0; 10], 8));