pub fn decode<T>(input: T) -> Result<Vec<u8>, HexError>where T: AsRef<[u8]>,
Decode a hex string into an owned Vec<u8>.
Vec<u8>
Returns an error if the input contains non-hex characters or has odd length.