12 releases
| 0.3.1 | Jun 16, 2025 |
|---|---|
| 0.3.0 | Jun 16, 2025 |
| 0.2.1 | Feb 6, 2025 |
| 0.2.0 | Jan 4, 2025 |
| 0.1.4 | May 22, 2024 |
#12 in #base64-encode
603 downloads per month
Used in 3 crates
(2 directly)
28KB
478 lines
Base 64
This crate contains functions to encode and decode Base 64
Example
use rb64::{encode, decode};
let s = encode(b"Hello world!");
assert_eq!(s, "SGVsbG8gd29ybGQh");
let decoded = decode(&s).unwrap();
assert_eq!(&*decoded, b"Hello world!");
Rust Base 64
Library for Base 64 encoding and decoding
==== Copyright (C) 2025 Saúl Valdelvira
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.
Dependencies
~0–13MB
~121K SLoC