Skip to main content
Module

x/fastro/http/deps.ts>base64Encode

Fast and simple web application framework for deno
Go to Latest
function base64Encode
Re-export
import { base64Encode } from "https://deno.land/x/fastro@v0.74.4/http/deps.ts";

CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727 Encodes a given Uint8Array, ArrayBuffer or string into RFC4648 base64 representation

Parameters

data: ArrayBuffer | string

Returns

string