base64

package
v0.0.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64Decode

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

StdEncoding

func Base64Encode

func Base64Encode(bytes []byte) string

StdEncoding

func Base64URLDecode

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

func Base64URLEncode

func Base64URLEncode(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