Skip to content

moxie.core.utils.Encode

Davit Barbakadze edited this page Aug 5, 2017 · 1 revision

Important! This page is auto-generated from the comments in the source files. All changes will be overwritten! If you are looking to contribute, modify the comment in the corresponding source file instead.

Module: moxie.core.utils.Encode

Table of Contents

Methods

Encode string with UTF-8

Arguments

  • str String
    String to encode

Decode UTF-8 encoded string

Arguments

  • str String
    String to decode

atob(data) static

Decode Base64 encoded string (uses browser's default method if available), from: https://raw.github.com/kvz/phpjs/master/functions/url/base64_decode.js

Arguments

  • data String
    String to decode

btoa(data) static

Base64 encode string (uses browser's default method if available), from: https://raw.github.com/kvz/phpjs/master/functions/url/base64_encode.js

Arguments

  • data String
    String to encode