Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

nkeys.decode

import { nkeys } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.27.0/nats-base-client/internal_mod.ts"; 

const { decode } = nkeys;

Decode a base64 encoded string to a binary Uint8Array

function decode(b64str: string): Uint8Array;
§
decode(b64str: string): Uint8Array
[src]

§Parameters

§
b64str: string
[src]

encoded string

§Return Type

§
Uint8Array
[src]