text base64Encode(text, flags)
Encode a text as characters in the UTF-8 charset or an hexadecimal representation of bytes, to Base64.
|Terminate lines with CRLF |
\r\n instead of LF
|Expect the text to be an hexadecimal representation of bytes, see hexEncode function.|
|Omit the padding = characters at the end|
|Use the “URL and filename safe” variant, where - and _ are used in place of + and /|
|Omit all line terminators resulting in a single, possibly very long, line|
- text — text as characters in the UTF-8 charset or an hexadecimal representation of bytes.
- flags — optional text where each character is a flag.
- the text encoded as Base64.