minigame-std
    Preparing search index...

    Function decodeBase64

    • 将 Base64 格式的字符串数据解码。

      Parameters

      • data: string

        需要解码的 Base64 字符串。

      Returns string

      解码后的字符串。

      const decoded = decodeBase64('SGVsbG8sIFdvcmxkIQ==');
      console.log(decoded); // 'Hello, World!'