Registry / utility / bs64
library0.1.2rscratesunverified

SIMD-accelerated Base64 encoding and decoding library.

# Cargo.toml [dependencies] bs64 = "0.1.2"
INSTALL
IMPORT
SIG · BS64
B
bs64
utilityrustv0.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

encode
✓ use bs64::encode;

Encodes a byte slice to a Base64 string.

use bs64::encode; fn main() { let encoded = encode(b"hello"); println!("{}", encoded); }
Debug
Known issues
gotchaRequires CPU with SIMD support (SSE4.1 or NEON) for acceleration.
fix
Fallback to scalar implementation is available but slower.
affects: >=0.1.0
Upgrade
Version history
0.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
bs64 — cargo add bs64 · libregistry