dreamworkAPI
Ctrl K
GitHub
typeDocs / base64 / Options

base64.Options

typesharedmenusource
base64.Variant → base64.Options

Base64 encoding/decoding options.

Fields that are nil are taken from the variant, custom has the standard alphabet without padding and wrapping.

Fields

NameTypeDescription
variant"standard" | "urlsafe" | "mime" | "jwt" | "custom" | nilThe base64 variant to use, default is "standard".
alphabetbase64.Alphabet | nilThe 64-character alphabet used for encoding and decoding.
Generated from the dreamwork meta branch.