pub fn encode_octal_to_hex(data: &str) -> Result<String, Box<dyn Error>>
Expand description
Encodes an octal string to hexadecimal format.
ยงExamples
use nutek_encode_lib::encoder;
let encoded = encoder::encode_octal_to_hex("377").unwrap();
assert_eq!(encoded, "ff");