Skip to main content

from_hex

Function from_hex 

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

Converts a hexadecimal string to bytes, stripping ASCII whitespace and an optional 0x / 0X prefix.