Module general_purpose
Provides the GeneralPurpose engine and associated config types.
See preconfigured engines like STANDARD_NO_PAD or STANDARD_NO_PAD_INDIFFERENT.
Structs
- GeneralPurpose A general-purpose base64 engine.
- GeneralPurposeConfig Contains configuration parameters for base64 encoding and decoding.
Type Aliases
- Scalar A purely scalar base64 engine that never uses hardware-specific vector instructions.
Constants
- NO_PAD Don't add padding when encoding, and require that there is no padding when decoding.
- NO_PAD_INDIFFERENT Don't add padding when encoding, and allow input with or without padding when decoding.
- PAD Include padding bytes when encoding, and require that they be present when decoding.
- PAD_INDIFFERENT Include padding bytes when encoding, but allow input with or without padding when decoding.
-
STANDARD
A
GeneralPurposeengine using thealphabet::STANDARDbase64 alphabet andPADconfig. -
STANDARD_NO_PAD
A
GeneralPurposeengine using thealphabet::STANDARDbase64 alphabet andNO_PADconfig. -
STANDARD_NO_PAD_INDIFFERENT
A
GeneralPurposeengine using thealphabet::STANDARDbase64 alphabet andNO_PAD_INDIFFERENTconfig. -
STANDARD_PAD_INDIFFERENT
A
GeneralPurposeengine using thealphabet::STANDARDbase64 alphabet andPAD_INDIFFERENTconfig. -
URL_SAFE
A
GeneralPurposeengine using thealphabet::URL_SAFEbase64 alphabet andPADconfig. -
URL_SAFE_NO_PAD
A
GeneralPurposeengine using thealphabet::URL_SAFEbase64 alphabet andNO_PADconfig. -
URL_SAFE_NO_PAD_INDIFFERENT
A
GeneralPurposeengine using thealphabet::URL_SAFEbase64 alphabet andNO_PAD_INDIFFERENTconfig. -
URL_SAFE_PAD_INDIFFERENT
A
GeneralPurposeengine using thealphabet::URL_SAFEbase64 alphabet andPAD_INDIFFERENTconfig.