atob method
The atob()
method of the WorkerGlobalScope interface decodes a
string of data which has been encoded using encoding. You can use
the WorkerGlobalScope.btoa method to encode and transmit
data which may otherwise cause communication problems, then transmit it
and use the
atob()
method to decode the data again. For example, you can encode,
transmit, and decode control characters such as values 0 through 31.
For use with arbitrary Unicode strings, see The "Unicode Problem" section in glossary entry.
Implementation
external String atob(String data);