10 releases

0.4.8 Mar 26, 2023
0.4.7 Mar 20, 2023
0.4.5 Feb 21, 2023
0.3.1 Feb 11, 2023
0.1.2 Feb 9, 2023

#1682 in Algorithms

BSL-1.0 license

25KB
467 lines

based64

Rust Crates.io Documentation

Simple Base64 functions for Rust chads.

Features

  • alloc - Enables usage of heap based collections;

Performance

There is collection of benchmarks made by Nugine which includes this crate: https://github.com/Nugine/simd/issues/25 for reference information


lib.rs:

BASE64 library for chads

Features

  • alloc - Enables usage of heap based collections;

API

  • raw - Contains functions to work with raw pointers. Mostly unsafe.
  • uninit - Contains functions to work with unintialized slices.
  • vec - Contains high level functions that returns Vec. Requires alloc feature.
  • string - Contains high level functions that returns String. Requires alloc feature.
  • Codec - Wrapper that allows to pre-built lookup table for decoding. Useful if you want to safe tiny bit on building lookup table.

No runtime deps