pub fn decode(text: &str) -> Result<Vec<u8>, BadHex>
Decodes hex into a fresh vector, 0x prefix and whitespace optional.
0x