Go to Latest
function decodeBase64
import { decodeBase64 } from "https://dotland.deno.dev/std@0.215.0/encoding/base64.ts";

Decodes a base64-encoded string.

Examples

Example 1

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

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

Parameters

b64: string

Returns

Uint8Array