base64 strings from/to Uint8Array
s
import * as base64 from "https://denopkg.com/chiefbiiko/base64/mod.ts";
import * as base64 from "https://denopkg.com/chiefbiiko/base64/mod.ts";
const b64: string = base64.fromUint8Array(new TextEncoder().encode("this is too much"));
const buf: Uint8Array = base64.toUint8Array(b64);
If you need a URL and file name safe base64 variant import * as base64url from "https://denopkg.com/chiefbiiko/base64/base64url.ts";
Transcode a base64 string from a byte array.
Turn a base64 string to a byte array.
Calculate the byte length of a base64 string.