pub fn parse_hex(hex_asm: &str) -> Vec<u8>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator
Expand description

Parses a str of hexadecimal numbers into a Vec

Example

use hua_core::extra::str;
let hex_asm = "a2b0";
let vec = str::parse_hex(hex_asm);

assert_eq!(vec, vec![162, 176]);