decode_hex

Function decode_hex 

Source
pub fn decode_hex(value: &str) -> Result<Vec<u8>, FromHexError>
Expand description

Allows to decode both “0x”-prefixed and non-prefixed hex strings