Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function nkeys.decode
import { nkeys } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts";
const { decode } = nkeys;

Decode a base64 encoded string to a binary Uint8Array

Parameters

b64str: string

encoded string

Returns

Uint8Array