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

x/smoldot2/base64.d.ts>classicDecode

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

Decodes a base64-encoded string into bytes using the original alphabet from RFC4648.

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

Parameters

input: string

Returns

Uint8Array