HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

atob

Description

The atob of WindowOrWorkerGlobalScope for JS takes the input data, in the form of a Unicode string containing base64-encoded binary data, decodes it, and returns a string consisting of characters in the range U+0000 to U+00FF, each representing a binary byte with values 0x00 to 0xFF respectively, corresponding to that binary data.

Throws an "InvalidCharacterError" DOMException if the input string is not valid base64 data.

Syntax

result = self.atob(data)

Parameters

data

An any type.

Examples

1 · data