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

x/smoldot2/base64.d.ts>base64Decode

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

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

Parameters

input: string
alphabet: Map<string, number>

Returns

Uint8Array