Base64.decodeBuffer(base64String) Method (JS)
Decodes the given base64 string to an ArrayBuffer.
var Base64 = require("FuseJS/Base64");
var buf = Base64.decodeBuffer("NxMAAA==");
var view = new Int32Array(data);
// Should print 0x1337
console.log("0x" + view[0].toString(16));
Location
- Namespace
- FuseJS
- Package
- FuseJS 2.9.1
Returns
ArrayBuffer
Decoded ArrayBuffer