gf: github.com/gogf/gf/g/encoding/gbase64 Index | Files

package gbase64

import "github.com/gogf/gf/g/encoding/gbase64"

Package gbase64 provides useful API for BASE64 encoding/decoding algorithm.

Index

Package Files

gbase64.go

func Decode Uses

func Decode(dst []byte) ([]byte, error)

Decode decodes bytes with BASE64 algorithm.

func DecodeString Uses

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

DecodeString decodes string with BASE64 algorithm.

func Encode Uses

func Encode(src []byte) []byte

Encode encodes bytes with BASE64 algorithm.

func EncodeString Uses

func EncodeString(src []byte) string

EncodeString encodes bytes with BASE64 algorithm.

Package gbase64 imports 1 packages (graph) and is imported by 4 packages. Updated 2019-07-18. Refresh now. Tools for package owners.