Encodes given array buffer to base64.

var Base64 = require("FuseJS/Base64");

var data = new ArrayBuffer(4);
var view = new Int32Array(data);
view[0] = 0x1337;

console.log(Base64.encodeBuffer(data));

Location

Namespace
FuseJS
Package
FuseJS 1.11.2

Returns

String

A base64 encoded string