base64Kit

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 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) ([]byte, error)

func DecodeString

func DecodeString(data string) ([]byte, error)

func DecodeToString

func DecodeToString(data string) (string, error)

func Encode

func Encode(src []byte) []byte

func EncodeFile added in v2.1.0

func EncodeFile(path string) ([]byte, error)

EncodeFile

@param path 文件路径(不支持目录路径)

func EncodeFileToString added in v2.1.0

func EncodeFileToString(path string) (string, error)

func EncodeString added in v2.1.0

func EncodeString(src string) string

func EncodeToString

func EncodeToString(src []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