package
Version:
v1.0.12
Opens a new window with list of versions in this module.
Published: Jul 3, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
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.
Encode encodes a byte slice into a bech32 string with the
human-readable part hrb. Note that the bytes must each encode 5 bits
(base32).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.