Function array_bytes::hex2bytes_unchecked[][src]

pub fn hex2bytes_unchecked(hex: impl AsRef<str>) -> Vec<u8>
Expand description

Just like fn hex2bytes but without checking

Examples

assert_eq!(
	array_bytes::hex2bytes_unchecked("0x49204c6f766520596f75"),
	*b"I Love You"
);