Documentation
¶
Overview ¶
Package base64 provides base64 encoding support for Goal.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Import ¶
Import registers in the given Context the variadic functions from this package with default names and stores them into global variables. The following functions are defined:
base64.enc[s] : encode string in standard base64 encoding
base64.urlenc[s] : encode string in alternate url base64 encoding (no padding)
base64.dec[s] : decode string in standard base64 encoding
base64.urldec[s] : decode string in alternate url base64 encoding (no padding)
Decoding may return an error value dict with the partially decoded data (key "dec") along with the error message (key "msg").
A non-empty prefix can be provided, but "base64." is already a part of the default names, so it will be added as an extra prefix.
Types ¶
This section is empty.