array_bytesFunction hex2bytes_unchecked
Source pub fn hex2bytes_unchecked<H>(hex: H) -> Vec<u8>
Expand description
Just like hex2bytes
but without checking.
ยงExamples
assert_eq!(
array_bytes::hex2bytes_unchecked("0x4c6f7665204a616e6520466f7265766572"),
*b"Love Jane Forever"
);