base64Kit

package
v1.30.12 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(data []byte, args ...*base64.Encoding) ([]byte, error)

func DecodeString

func DecodeString(str string, args ...*base64.Encoding) ([]byte, error)

func DecodeToString

func DecodeToString(data []byte, args ...*base64.Encoding) (string, error)

func Encode

func Encode(data []byte, args ...*base64.Encoding) []byte

Encode

@param args 可以是 base64.StdEncoding、base64.URLEncoding、base64.RawStdEncoding、base64.RawURLEncoding 等(默认: base64.StdEncoding)

func EncodeToString

func EncodeToString(data []byte, args ...*base64.Encoding) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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