SkillAgentSearch skills...

Uuencode

A Rust uuencoder/decoder

Install / Use

/learn @murtyjones/Uuencode
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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:

[dependencies]
uuencode = "^0.1.0"

Then use the library to encode or decode some data:

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 or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (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.

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated3y ago
Forks1

Languages

Rust

Security Score

55/100

Audited on Oct 23, 2022

No findings