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

Decode a base64 encoded string to a binary Uint8Array

Parameters

b64str: string

encoded string

Returns

Uint8Array