Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/smoldot2/base64.js>urlSafeDecode

Alternative client for Substrate-based chains.
Go to Latest
function urlSafeDecode
import { urlSafeDecode } from "https://deno.land/x/smoldot2@light-js-deno-v1.0.1/base64.js";

Decodes a base64-encoded string into bytes using the URL-safe alphabet.

See https://datatracker.ietf.org/doc/html/rfc4648#section-5.