import { base64 } from "https://deno.land/x/postgres@v0.17.0/deps.ts";
encode
and decode
for
base64 encoding.
This module is browser compatible.
Functions
Decodes a given RFC4648 base64 encoded string | |
CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727 Encodes a given Uint8Array, ArrayBuffer or string into RFC4648 base64 representation |