WalletCore
WalletCore
/
wallet.core.jni
/
Base64
Base64
class
Base64
Base64 encode / decode functions
Functions
Functions
decode
Link copied to clipboard
open
fun
decode
(
string
:
String
)
:
Array
<
Byte
>
Decode a Base64 input with the default alphabet (RFC4648 with '+', '/')
decode
Url
Link copied to clipboard
open
fun
decodeUrl
(
string
:
String
)
:
Array
<
Byte
>
Decode a Base64 input with the alphabet safe for URL-s and filenames (RFC4648 with '-', '_')
encode
Link copied to clipboard
open
fun
encode
(
data
:
Array
<
Byte
>
)
:
String
Encode an input to Base64 with the default alphabet (RFC4648 with '+', '/')
encode
Url
Link copied to clipboard
open
fun
encodeUrl
(
data
:
Array
<
Byte
>
)
:
String
Encode an input to Base64 with the alphabet safe for URL-s and filenames (RFC4648 with '-', '_')