Function encodeBech32

  • Encode an array of numbers as a base32 string using the Bech32 character set.

    Note, this method always completes. For a valid result, all items in base32IntegerArray must be between 0 and 32. To prepare another array type for encoding, see regroupBits.

    For the reverse, see decodeBech32.

    Parameters

    • base32IntegerArray: number[]

      the array of 5-bit integers to encode

    Returns string

Generated using TypeDoc