Encodes the given string to a Latin-1 base64 string.

var Base64 = require("FuseJS/Base64");
// Prints "aGVsbG8gd29ybGQ="
console.log(Base64.encodeLatin1("hello world"));

Location

Namespace
FuseJS
Package
FuseJS 1.11.2

Returns

String

Encoded string