Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/template/minimal/deps.ts>encode

Discord API library for Deno
Extremely Popular
Go to Latest
function encode
Re-export
import { encode } from "https://deno.land/x/discordeno@17.2.0/template/minimal/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