Packages / rupm

base64-tools 0.1.0

Base64 and URL-safe Base64 encode and decode, with and without padding

Install

cargo add base64-tools --registry rupm

In Ruststudio: Packages, search for base64-tools, Install.

Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-22.

Versions

README

# base64-tools

Base64 and URL-safe Base64 encode and decode, with and without padding

Add it with `rupm add base64-tools` (or `cargo add base64-tools --registry rupm`).

```rust
let text = base64_tools::encode(b"hello");          // "aGVsbG8="
let bytes = base64_tools::decode(&text)?;            // b"hello"
let url = base64_tools::encode_url_nopad(&[0xfb, 0xff]); // "-_8"
```