Skip to main content
Go to Latest
function encodeBase64
import { encodeBase64 } from "https://deno.land/std@0.208.0/encoding/base64.ts";

Encodes a given Uint8Array, ArrayBuffer or string into RFC4648 base64 representation

Parameters

data: ArrayBuffer | Uint8Array | string

Returns

string