Expand description
Provides the GeneralPurpose engine and associated config types.
ModulesΒ§
- decode π
- decode_
suffix π
StructsΒ§
- General
Purpose - A general-purpose base64 engine.
- General
Purpose Config - Contains configuration parameters for base64 encoding and decoding.
ConstantsΒ§
- INVALID_
VALUE π - 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.
FunctionsΒ§
- decode_
table π - Returns a table mapping base64 bytes as the lookup index to either:
- encode_
table π - Returns a table mapping a 6-bit index to the ASCII byte encoding of the index
- read_
u64 π