encode

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alphabet added in v2.0.2

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

type BaseType added in v2.0.2

type BaseType int
const (
	Base58 BaseType = iota
	Base62
	Base64
)

type Encoding added in v2.0.2

type Encoding interface {
	Encode([]byte) ([]byte, error)
	EncodeStr(string) (string, error)

	Decode([]byte) ([]byte, error)
	DecodeStr(string) (string, error)
}

func NewEncoding added in v2.0.2

func NewEncoding(base BaseType) Encoding

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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