The Based64 functions are used for encoding and decoding of Base64 data.
base64Encoder
This function takes a bytearray and returns a Base64 string representing the data.
string base64Encoder ( bytearray data)
Parameter | Description |
---|---|
| The bytearray to encode |
Returns | A Base64 encoded string |
base64Decoder
This function takes a Base 64 encoded string and returns the decoded data.
bytearray base64Decoder ( string data)
Parameter | Description |
---|---|
| The string to decode |
Returns | A bytearray containing the decoded data |
base64UrlEncoder
This function takes a bytearray and returns a URL safe Base64 string representing the data.
string base64UrlEncoder ( bytearray data)
Parameter | Description |
---|---|
| The bytearray to encode |
Returns | A URL safe Base64 encoded string |
base64UrlDecoder
This function takes a URL safe Base 64 encoded string and returns the decoded data.
bytearray base64UrlDecoder ( string data)
Parameter | Description |
---|---|
| The string to decode |
Returns | A bytearray containing the decoded data |
Add Comment