6 releases (3 breaking)
0.8.0 | Dec 28, 2022 |
---|---|
0.7.0 | Jul 23, 2022 |
0.6.2 | Jun 29, 2022 |
0.5.1 | Jun 26, 2022 |
0.5.0 | Dec 31, 2021 |
#113 in Parser implementations
1,568,568 downloads per month
Used in 1,205 crates
(29 directly)
220KB
6.5K
SLoC
base64-simd
SIMD-accelerated base64 encoding and decoding.
Documentation: https://docs.rs/base64-simd
Repository: https://github.com/Nugine/simd
lib.rs
:
SIMD-accelerated base64 encoding and decoding.
Examples
let bytes = b"hello world";
let base64 = base64_simd::STANDARD;
let encoded = base64.encode_to_string(bytes);
assert_eq!(encoded, "aGVsbG8gd29ybGQ=");
let decoded = base64.decode_to_vec(encoded).unwrap();
assert_eq!(decoded, bytes);