Base64-decode a string.
|
code » | |
Base64-decode a string.
In base-64 decoding, groups of four characters are converted into three
bytes. If the encoder did not apply padding, the input length may not
be a multiple of 4.
In this case, the last group will have fewer than 4 characters, and
padding will be inferred. If the group has one or two characters, it decodes
to one byte. If the group has three characters, it decodes to two bytes.
|
code » | |
Base64-encode an array of bytes.
|
code » | |
Base64-encode a string.
|
code » | |
![]()
Lazy static initialization function. Called before
accessing any of the static map variables.
|
code » |
![]()
Our default alphabet. Value 64 (=) is special; it means "nothing."
|
Code » | |
![]()
Our default alphabet, shared between
ENCODED_VALS and ENCODED_VALS_WEBSAFE
|
Code » | |
![]()
Our websafe alphabet.
|
Code » | |
![]()
Whether this browser supports the atob and btoa functions. This extension
started at Mozilla but is now implemented by many browsers. We use the
ASSUME_* variables to avoid pulling in the full useragent detection library
but still allowing the standard per-browser compilations.
|
Code » | |
![]()
Maps bytes to websafe characters.
|
Code » | |
![]()
Maps bytes to characters.
|
Code » | |
![]()
Maps websafe characters to bytes.
|
Code » | |
![]()
Maps characters to bytes.
|
Code » |