WalletCore
WalletCore
/
wallet.core.jni
/
Bech32
Bech32
class
Bech32
Bech32 encode / decode functions
Functions
Functions
decode
Link copied to clipboard
open
fun
decode
(
string
:
String
)
:
Array
<
Byte
>
Decodes a Bech32 string.
decode
M
Link copied to clipboard
open
fun
decodeM
(
string
:
String
)
:
Array
<
Byte
>
Decodes a Bech32m string.
encode
Link copied to clipboard
open
fun
encode
(
hrp
:
String
,
data
:
Array
<
Byte
>
)
:
String
Encodes data as a Bech32 string.
encode
M
Link copied to clipboard
open
fun
encodeM
(
hrp
:
String
,
data
:
Array
<
Byte
>
)
:
String
Encodes data as a Bech32m string.