chromium-base64-rs

Crates.iochromium-base64-rs
lib.rschromium-base64-rs
version0.1.0
sourcesrc
created_at2023-10-06 18:47:22.168828
updated_at2023-10-06 18:47:22.168828
descriptionPure rust implementation of chromium's btoa and atob
homepagehttps://github.com/ivanhrabcak/chromium-base64-rs
repositoryhttps://github.com/ivanhrabcak/chromium-base64-rs
max_upload_size
id995318
size5,916
Ivan Hrabčák (ivanhrabcak)

documentation

https://docs.rs/chromium-base64-rs

README

chromium-base64-rs

Pure rust implementation of chromium's btoa and atob

Dependency

chromium-base64-rs = "0.1.0"

Example

Here's a encoding and decoding example:

let base64_encoded_string = base64_encode_to_string("Hello World!".as_bytes());

let decoded_string = base64_decode_to_string(base64_encoded_string.as_bytes());
Commit count: 4

cargo fmt