Function hex_simd::decode_type
source · pub fn decode_type<T: FromHexDecode>(data: impl AsRef<[u8]>) -> Result<T, Error>
Expand description
Decodes a hex string to bytes case-insensitively and returns a specified type.
Errors
This function returns Err
if the content of data
is invalid.