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 2.9.1

Returns

String

Encoded string