## uuencode Encodes/decodes data in the uuencode format. Taken from: https://www.reddit.com/r/dailyprogrammer/comments/4xy6i1/20160816_challenge_279_easy_uuencoding/ ## Installation Add this library to your `Cargo.toml`: ```toml [dependencies] uuencode = "^0.1.0" ``` Then use the library to encode or decode some data: ```rust extern crate uuencode; fn main() { let filename = "wow.jpg"; let original_decoded = "Cat"; let encoded = uuencode(filename, original_decoded.as_bytes()); println!("{}", encoded); // begin 644 wow.jpg\n#0V%T\n`\nend } ``` ## License Licensed under either of * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) at your option. ## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.