Function hex_simd::decode_to_vec

source ·
pub fn decode_to_vec(data: impl AsRef<[u8]>) -> Result<Vec<u8>, Error>
Available on crate feature alloc only.
Expand description

Decodes a hex string to bytes case-insensitively.

Errors

This function returns Err if the content of data is invalid.