base64

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiyDecode

func DiyDecode(str string, encoders ...string) (string, error)

base64 decode

func DiyDecodeToBytes

func DiyDecodeToBytes(str string, encoders ...string) ([]byte, error)

func DiyEncode

func DiyEncode(str string, encoders ...string) string

base64 encode

func DiyEncodeBytes

func DiyEncodeBytes(v []byte, encoders ...string) string

func StdDecode

func StdDecode(str string) (string, error)

base64 decode

func StdDecodeToBytes

func StdDecodeToBytes(str string) ([]byte, error)

func StdEncode

func StdEncode(str string) string

base64 encode

func StdEncodeBytes

func StdEncodeBytes(v []byte) string

func UrlDecode

func UrlDecode(str string) (string, error)

base64 decode

func UrlDecodeToBytes

func UrlDecodeToBytes(str string) ([]byte, error)

func UrlEncode

func UrlEncode(str string) string

base64 encode

func UrlEncodeBytes

func UrlEncodeBytes(v []byte) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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