Tag: unit8array

  • Atob() and Unit8Array in simple words

    Atob() and Unit8Array in simple words

    Photo by Markus Spiske on Pexels.com

    What is Atob()

    atob is a JavaScript function that stands for “ASCII to binary”. It’s used to convert a base64-encoded string into its original binary data.

    Base64 is a way of encoding binary data (such as images, audio, or PDFs) into ASCII characters, so that it can be easily transported over a network or stored as text. This is useful because some systems can’t handle binary data directly, and text can be stored and transmitted much more easily. When the data needs to be used again, the reverse process of converting the base64 text back into binary data is performed.

    (more…)