Function encode_hex_to_octal

Source
pub fn encode_hex_to_octal(data: &str) -> Result<String, Box<dyn Error>>
Expand description

Encodes a hexadecimal string to octal format.

ยงExamples

use nutek_encode_lib::encoder;
let encoded = encoder::encode_hex_to_octal("ff").unwrap();
assert_eq!(encoded, "377");