base58

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BitcoinEncoding = New([]byte("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"))
)

Functions

func Decode

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

func Encode

func Encode(b []byte) []byte

Types

type Encoding

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

func New

func New(encodeMap []byte) *Encoding

func (Encoding) Decode

func (e Encoding) Decode(b []byte) ([]byte, error)

func (Encoding) Encode

func (e Encoding) Encode(b []byte) []byte

Jump to

Keyboard shortcuts

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