Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivanhrabcak/chromium-base64-rs
https://github.com/ivanhrabcak/chromium-base64-rs
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ivanhrabcak/chromium-base64-rs
- Owner: ivanhrabcak
- Created: 2023-10-06T18:35:58.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-06T18:45:38.000Z (over 1 year ago)
- Last Synced: 2024-11-18T11:47:20.081Z (2 months ago)
- Language: Rust
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chromium-base64-rs
Pure rust implementation of chromium's btoa and atob# Dependency
```toml
chromium-base64-rs = "0.1.0"
```# Example
Here's a encoding and decoding example:
```rust
let base64_encoded_string = base64_encode_to_string("Hello World!".as_bytes());let decoded_string = base64_decode_to_string(base64_encoded_string.as_bytes());
```