oa_gateway_owp::convert

Function decode_hex

Source
fn decode_hex(s: &str) -> Result<Vec<u8>, String>
Expand description

Decodes hexBinary, ignoring ASCII whitespace.

ยงErrors

Returns a message if the digit count is odd or a character is not hex.