Documentation ¶
Index ¶
- Constants
- func Bech32mDecode(address, prefix string, charset string) ([]byte, error)
- func Bech32mEncode(prefix string, data []byte, charset string) (string, error)
- func Convertbits(data []byte, frombits, tobits uint, pad bool) ([]byte, error)
- func Decode(bechString string, charset string) (string, []byte, int, error)
- func Encode(hrp string, data []byte, spec int, charset string) string
Constants ¶
View Source
const ( Bech32 = 1 Bech32m = 2 Failed = -1 VersionPrefix = 1 VersionSuffix = 2 )
Enumeration type to list the various supported encodings.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.