util

package
v3.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64ToBytes

func Base64ToBytes(base64Str string) ([]byte, error)

Base64ToBytes converts a base64 string to bytes

func UrlSafeBase64ToBytes

func UrlSafeBase64ToBytes(urlSafeBase64 string) ([]byte, error)

UrlSafeBase64ToBytes UrlSafe Base64 uses '-' and '_', instead of '+' and '/' respectively, so it can be passed as a url parameter without extra encoding.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL