Skip to main content
Module

x/aleph/server/deps.ts>btoa

The Full-stack Framework in Deno.
Very Popular
Go to Latest
function btoa
import { btoa } from "https://deno.land/x/aleph@1.0.0-beta.1/server/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