Module prelude
Preconfigured engines for common use cases.
These are re-exports of const engines in [crate::engine::general_purpose], renamed with a BASE64_
prefix for those who prefer to use the entire path to a name.
Examples
use ;
assert_eq!;
Traits
-
Engine
An
Engineprovides low-level encoding and decoding operations that all other higher-level parts of the API use. Users of the library will generally not need to implement this.
Constants
- BASE64_STANDARD A [GeneralPurpose] engine using the [alphabet::STANDARD] base64 alphabet and [PAD] config.
- BASE64_STANDARD_NO_PAD A [GeneralPurpose] engine using the [alphabet::STANDARD] base64 alphabet and [NO_PAD] config.
- BASE64_URL_SAFE A [GeneralPurpose] engine using the [alphabet::URL_SAFE] base64 alphabet and [PAD] config.
- BASE64_URL_SAFE_NO_PAD A [GeneralPurpose] engine using the [alphabet::URL_SAFE] base64 alphabet and [NO_PAD] config.