pub fn decode_hex(data: &str) -> Result<String, Box<dyn Error>>
Expand description
Decodes a hexadecimal encoded string.
ยงExamples
use nutek_encode_lib::encoder;
let decoded = encoder::decode_hex("68656c6c6f").unwrap();
assert_eq!(decoded, "hello");