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

x/smoldot/base64.d.ts>classicDecode

Alternative client for Substrate-based chains.
Latest
function classicDecode
import { classicDecode } from "https://deno.land/x/smoldot@light-js-deno-v0.7.9/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