Skip to main content
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-v0.7.10/base64.d.ts";

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

Parameters

input: string
alphabet: Map<string, number>

Returns

Uint8Array