Function bitcoin::util::misc::hex_bytes [] [src]

pub fn hex_bytes(s: &str) -> Result<Vec<u8>, Error>

Convert a hexadecimal-encoded string to its corresponding bytes