pub fn hex2array<H, const N: usize>(hex: H) -> ArrayBytesResult<[u8; N]> where H: AsRef<str>,
Just like hex2bytes but to a fixed length array
hex2bytes
assert_eq!( array_bytes::hex2array("0x4c6f7665204a616e6520466f7265766572").unwrap(), *b"Love Jane Forever" );