Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function base64.decodeBase64
import { base64 } from "https://deno.land/x/postgres@v.0.18.1/tests/test_deps.ts";
const { decodeBase64 } = base64;

Decodes a base64-encoded string.

Examples

Example 1

import { encodeBase64 } from "https://deno.land/std@0.224.0/encoding/base64.ts";

encodeBase64("foobar"); // "Zm9vYmFy"

Parameters

b64: string

Returns

Uint8Array