package
0.0.0-20210908101009-111f7df128dd
Repository: https://github.com/libs4go/encoding.git
Documentation: pkg.go.dev
# Functions
ConvertAndEncode converts from a base64 encoded byte string to base32 encoded byte string and then to bech32.
ConvertBits converts a byte slice where each byte is encoding fromBits bits, to a byte slice where each byte is encoding toBits bits.
Decode decodes a bech32 encoded string, returning the human-readable part and the data part excluding the checksum.
DecodeAndConvert decodes a bech32 encoded string and converts to base64 encoded bytes.
Encode encodes a byte slice into a bech32 string with the human-readable part hrb.