@genexus/web-standard-functions
Version:
GeneXus JavaScript standard functions library for web generators
14 lines • 414 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.toBase64 = void 0;
const btoa = require("btoa");
/**
* Converts the given string to base64 representation
* @param {string} str Input string
* @return string The base64 representation of the input string
*/
const toBase64 = (str) => {
return btoa(str);
};
exports.toBase64 = toBase64;
//# sourceMappingURL=toBase64.js.map