Crates.io | chromium-base64-rs |
lib.rs | chromium-base64-rs |
version | 0.1.0 |
source | src |
created_at | 2023-10-06 18:47:22.168828 |
updated_at | 2023-10-06 18:47:22.168828 |
description | Pure rust implementation of chromium's btoa and atob |
homepage | https://github.com/ivanhrabcak/chromium-base64-rs |
repository | https://github.com/ivanhrabcak/chromium-base64-rs |
max_upload_size | |
id | 995318 |
size | 5,916 |
Pure rust implementation of chromium's btoa and atob
chromium-base64-rs = "0.1.0"
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());