verity_ic::crypto

Function string_to_vec_u8

source
pub fn string_to_vec_u8(str: &str) -> Vec<u8> 
Expand description

Converts a hexadecimal string (optionally prefixed with ‘0x’) to a vector of bytes.