Versions in this module Expand all Collapse all v0 v0.0.3 Feb 7, 2021 Changes in this version + func ConvertBits(data []byte, fromBits, toBits uint8, pad bool) ([]byte, error) + func Decode(bechString string) (string, []int, error) + func DecodeBech32(bech string) (string, []byte, error) + func Encode(hrp string, data []int) (string, error) + func EncodeBech32(hrp string, data []byte) (string, error) + func SegwitAddrDecode(hrp, addr string) (int, []int, error) + func SegwitAddrEncode(hrp string, version int, program []int) (string, error)