Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
function nkeys.decode
import { nkeys } from "https://deno.land/x/natsws@v1.29.2/src/nats-base-client.ts";
const { decode } = nkeys;

Decode a base64 encoded string to a binary Uint8Array

Parameters

b64str: string

encoded string

Returns

Uint8Array