Link Search Menu Expand Document

Random

Table of contents

  1. Base64
    1. Base64.encode(String) -> String
    2. Base64.decode(String) -> String

Base64

To make use of the Base64 module an import is required.

import Base64;

Base64.encode(String) -> String

Base64 encode a given string.

Base64.encode("test"); // 'dGVzdA=='

Base64.decode(String) -> String

Base64 decode a given string.

Base64.decode("dGVzdA=="); // 'test'

This site uses Just The Docs, with modifications.