Allows you to encode and decode strings from Base64.
This is useful when passing string to places where some characters are not allowed.
This example demonstrates simple use of the
Base64 module. The code prints the input string, and the computed Base64 string.
var Base64 = require("FuseJS/Base64"); var string = "Hello, world!"; console.log(string); //LOG: Hello, world! console.log(Base64.encodeAscii(string)); //LOG: SGVsbG8sIHdvcmxkIQ==
- FuseJS 1.11.2
Interface of Base64
Inherited from NativeModule
Inherited from Module
GetFile : FileSource uno
Returns the file source that will be watched by the Context for changes in Fuse preview. Override in subclasses and return correct file source to support live updates in Fuse preview.