Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function encodeBase32
import { encodeBase32 } from "https://deno.land/std@0.220.0/encoding/base32.ts";

Converts data to a base32-encoded string.

Examples

Example 1

import { encodeBase32 } from "https://deno.land/std@0.220.0/encoding/base32.ts";

encodeBase32("6c60c0"); // "NRQMA==="

Parameters

data: ArrayBuffer | Uint8Array | string

Returns

string