lib-base64

Crates.iolib-base64
lib.rslib-base64
version2.1.0
sourcesrc
created_at2020-06-11 10:02:22.655125
updated_at2024-03-23 19:23:24.61438
descriptionA base64 (with padding) encoding and decoding library, which implements the encode() and decode() methods for the String and Vec types.
homepage
repositoryhttps://github.com/nicolasbauw/lib-base64
max_upload_size
id252693
size16,626
Nicolas BAUW (nicolasbauw)

documentation

README

lib-base64

Current Crates.io Version Downloads badge

A base64 (with padding) encoding and decoding library, which implements the encode() and decode() methods for the String and Vec<u8> types.

Example:

use lib_base64::Base64;
let s = String::from("Test");
assert_eq!(Ok(String::from("VGVzdA==")), s.encode())
use lib_base64::Base64;
let s = String::from("VGVzdA==");
assert_eq!(Ok(String::from("Test")), s.decode())

License: MIT

Commit count: 58

cargo fmt