Module general_purpose

Expand description

Provides the GeneralPurpose engine and associated config types.

Structs§

GeneralPurpose
A general-purpose base64 engine.
GeneralPurposeConfig
Contains configuration parameters for base64 encoding and decoding.

Constants§

NO_PAD
Don’t add padding when encoding, and require no padding when decoding.
PAD
Include padding bytes when encoding, and require that they be present when decoding.
STANDARD
A GeneralPurpose engine using the alphabet::STANDARD base64 alphabet and PAD config.
STANDARD_NO_PAD
A GeneralPurpose engine using the alphabet::STANDARD base64 alphabet and NO_PAD config.
URL_SAFE
A GeneralPurpose engine using the alphabet::URL_SAFE base64 alphabet and PAD config.
URL_SAFE_NO_PAD
A GeneralPurpose engine using the alphabet::URL_SAFE base64 alphabet and NO_PAD config.