<< Click to Display Table of Contents >> Base64 library |
|
base64decode(Input) - used to decode Base64 string to byte array. Input contains base64 encoded string. In Output will be decoded byte array.
base64encode(Input) - used to encode byte array to Base64 string. Input contains byte array. In Output will be encoded Base64 string.
Example:
int arr[5] = [1,2,3,4,5];
string a = base64encode(arr);
print(a);
Response:
a = "AQIDBAU=";