wiwi::encoding::hex

Function decode_hex

Source
pub fn decode_hex(bytes: &[u8]) -> Result<Vec<u8>, DecodeError>
Expand description

Decodes a slice of hex bytes into a byte vector. This function handles and supports both uppercase and lowercase characters.