Encodes the given data using Base64, with the result converted to a
string for convenience.
example
letbuffer = newArrayBuffer(byteLength);// [Fill the buffer with data, for example using a DataView]json.data = Base64.encode(buffer);file.write(JSON.stringify(json));
Provides functions to encode and decode data using Base64.
1.10