Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/smoldot2/internals/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.6/internals/base64.js";

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

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