Function decode_binary

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

Decodes a binary encoded string.

ยงExamples

use nutek_encode_lib::encoder;
let decoded = encoder::decode_binary("0110100001100101011011000110110001101111").unwrap();
assert_eq!(decoded, "hello");