Skip to content

Conversation

@Mdanial01
Copy link

@Mdanial01 Mdanial01 commented Oct 12, 2025

Description

This pull request adds a Base64 Decode usage example for the SplashKit utilities.
It demonstrates how to decode Base64-encoded strings and handle invalid input gracefully.

Motivation and Context:

This example complements the Base64 Encode example by showing how to reverse the process, helping users understand how to use the SplashKit Base64 utility for decoding operations.

Dependencies:

No additional dependencies were introduced in this change.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

The example was tested by running the script locally and verifying:

  • Proper decoding of valid Base64 strings.
  • Correct error handling for invalid input.
  • Output consistency with the expected decoded string.

Steps to reproduce:

  • Navigate to the example directory.
  • Run the file base64_decode-1-example.py.
  • Observe the decoded output printed in the console.

Testing Checklist

  • Tested in latest Chrome
  • Tested in latest Firefox
  • npm run build
  • npm run preview

Checklist

If involving code

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

If modified config files

  • I have checked the following files for changes:
    • package.json
    • astro.config.mjs
    • netlify.toml
    • docker-compose.yml
    • custom.css

Folders and Files Added/Modified

  • Added:
    • examples/utilities/base64_decode-1-example.py
      Modified:
  • None

Additional Notes

This example is part of the ongoing effort to expand the SplashKit utilities examples collection for better developer understanding and usability.
base64_decode

@netlify
Copy link

netlify bot commented Oct 12, 2025

Deploy Preview for splashkit ready!

Name Link
🔨 Latest commit 8b7d989
🔍 Latest deploy log https://app.netlify.com/projects/splashkit/deploys/68ec3fc90be3260008b47cc4
😎 Deploy Preview https://deploy-preview-669--splashkit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Mdanial01 Mdanial01 changed the base branch from main to usage-examples October 13, 2025 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant