WalletCore
WalletCore
/
wallet.core.jni
/
Base32
Base32
class
Base32
Base32 encode / decode functions
Functions
Functions
decode
Link copied to clipboard
open
fun
decode
(
string
:
String
)
:
Array
<
Byte
>
Decode a Base32 input with the default alphabet (ALPHABET_RFC4648)
decode
With
Alphabet
Link copied to clipboard
open
fun
decodeWithAlphabet
(
string
:
String
,
alphabet
:
String
)
:
Array
<
Byte
>
Decode a Base32 input with the given alphabet
encode
Link copied to clipboard
open
fun
encode
(
data
:
Array
<
Byte
>
)
:
String
Encode an input to Base32 with the default alphabet (ALPHABET_RFC4648)
encode
With
Alphabet
Link copied to clipboard
open
fun
encodeWithAlphabet
(
data
:
Array
<
Byte
>
,
alphabet
:
String
)
:
String
Encode an input to Base32 with the given alphabet