Base64 Functions

The Based64 functions are used for encoding and decoding of Base64 data.

The following functions for Basde64 described here are:

base64Encoder

This function takes a bytearray and returns a Base64 string representing the data.

string base64Encoder ( bytearray data)
ParameterDescription

data

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)
ParameterDescription

data

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)
ParameterDescription

data

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)
ParameterDescription

data

The string to decode

Returns

A bytearray containing the decoded data