Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/earthstar/src/entries/universal.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/universal.ts";

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

Returns

Uint8Array