Function array_bytes::hex2bytes[][src]

pub fn hex2bytes(hex: impl AsRef<str>) -> ArrayBytesResult<Vec<u8>>

hex to bytes

error while length is a odd number or any byte out of radix