bech32

package
v0.0.0-...-dbf8d54 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EncodeWithPrefix = bech32.Encode
	Decode           = bech32.Decode
	DecodeNoLimit    = bech32.DecodeNoLimit

	EncodeFromBase256WithPrefix = bech32.EncodeFromBase256
	DecodeToBase256             = bech32.DecodeToBase256
)

Functions

func DecodeInto

func DecodeInto(be32 string, codec Bech32Codec) error

func Encode

func Encode(args ...any) (string, error)

func EncodeFromBase256

func EncodeFromBase256(args ...any) (string, error)

Types

type Bech32Codec

type Bech32Codec interface {
	Prefix() string
	Bytes() []byte
	SetBytes([]byte)
	Len() int
}

type Bech32Encoder

type Bech32Encoder interface {
	Prefix() string
	Bytes() []byte
}

type Bech32Prefix

type Bech32Prefix = prefixes.Bech32Prefix

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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