Function array_bytes::hex2array_unchecked[][src]

pub fn hex2array_unchecked<H, const N: usize>(hex: H) -> [u8; N] where
    H: AsRef<str>, 
Expand description

Just like hex2array but without checking

Examples

assert_eq!(
	array_bytes::hex2array_unchecked("0x4c6f7665204a616e6520466f7265766572"),
	*b"Love Jane Forever"
);