base64

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BASE64CHAR = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
)

Variables

This section is empty.

Functions

func Base64GetEncoder

func Base64GetEncoder() string

Base64GetEncoder 生成一个新的base64的码表

Types

type PseudoBase64

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

func NewBase64

func NewBase64(encoder string) PseudoBase64

func NewPseudoBase64

func NewPseudoBase64(seed int64) PseudoBase64

func (PseudoBase64) Decode

func (codec PseudoBase64) Decode(s string) (string, error)

func (PseudoBase64) Encode

func (codec PseudoBase64) Encode(s string) string

Jump to

Keyboard shortcuts

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