base64.Options
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
| Name | Type | Description |
|---|---|---|
variant | "standard" | "urlsafe" | "mime" | "jwt" | "custom" | nil | The base64 variant to use, default is "standard". |
alphabet | base64.Alphabet | nil | The 64-character alphabet used for encoding and decoding. |