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

x/earthstar/src/entries/npm.ts>base32StringToBytes

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
function base32StringToBytes
Re-export
import { base32StringToBytes } from "https://deno.land/x/earthstar@v10.0.0/src/entries/npm.ts";

Decode base32 string to a uint8array of bytes. Throw a ValidationError if the string is bad.

Returns

Uint8Array