encode

open fun encode(hrp: String, data: Array<Byte>): String

Encodes data as a Bech32 string.

Return

the encoded Bech32 string.

Parameters

hrp

The human-readable part.

data

The data part.