codemelted.js Module
    Preparing search index...

    Function json_atob

    • Decodes a string of data which has been encoded using Base64 encoding.

      Parameters

      • data: string

        Base64 encoded string.

      Returns string | null

      The decoded string or null if the encoding failed.

      // Encode base64
      let encoded = json_btoa("Hello World!");
      // Decode base64
      let decoded = json_atob(encoded);