Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function nkeys.decode
import { nkeys } from "https://deno.land/x/natsws@v1.27.0/src/nats-base-client.ts";
const { decode } = nkeys;

Decode a base64 encoded string to a binary Uint8Array

Parameters

b64str: string

encoded string

Returns

Uint8Array