base64Kit

package
v2.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 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