base64

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode added in v0.0.19

func Decode(decodeStr string) ([]byte, error)

StdEncoding

func Encode added in v0.0.19

func Encode(bytes []byte) string

StdEncoding

func URLDecode added in v0.0.19

func URLDecode(decodeStr string) ([]byte, error)

func URLEncode added in v0.0.19

func URLEncode(bytes []byte) string

Types

type Base64

type Base64 struct {
	// contains filtered or unexported fields
}

func New

func New(url bool) *Base64

func (*Base64) Decode

func (a *Base64) Decode(decodeStr string) ([]byte, error)

func (*Base64) Encode

func (a *Base64) Encode(bytes []byte) string

Jump to

Keyboard shortcuts

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