try_decode_hex_literal

Function try_decode_hex_literal 

Source
fn try_decode_hex_literal(s: &str) -> Option<Vec<u8>>
Expand description

Try to decode bytes from hex literal string.

None will be returned if the input literal is hex-invalid.