decode

open fun decode(string: String): Array<Byte>

Decodes a Bech32 string. Returns null if the string is not a valid Bech32 string.

Return

the decoded data, null if the string is not a valid Bech32 string. Note that the human-readable part is not returned.

Parameters

string

The Bech32 string to decode.