Skip to main content

Module base64

Module base64 

Source

Structs§

Alphabet

Statics§

STANDARD
RFC 4648 section 4: what key generators print.
URL_SAFE
RFC 4648 section 5: safe in a cookie and a URL.

Functions§

decode
Canonical text only: padding absent or complete, and no bits set past the last byte, so each byte string has exactly one accepted spelling.
encode
encode_padded
Padded to a multiple of four, as MIME and SMTP expect.
push_padded