base58

package
v2.0.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPrefix = errors.New("gotez: unknown Tezos base58 prefix")

ErrPrefix is returned in case of unknown Tezos base58 prefix

Functions

func Decode

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

func DecodeCheck

func DecodeCheck(src []byte) ([]byte, error)

func DecodeTZ

func DecodeTZ(data []byte) (pre *prefix.Prefix, payload []byte, err error)

func Encode

func Encode(src []byte) []byte

func EncodeCheck

func EncodeCheck(data []byte) []byte

func EncodeTZ

func EncodeTZ(pre *prefix.Prefix, payload []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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