pub fn hex2slice_unchecked<H>(hex: H, slice: &mut [u8]) -> &[u8]where H: AsRef<[u8]>,
Just like hex2slice but without checking.
hex2slice
assert_eq!( array_bytes::hex2bytes("0x4c6f7665204a616e6520466f7265766572"), Ok(b"Love Jane Forever".to_vec()) );