Skip to main content
Module

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

Storage for private, distributed, offline-first applications.
Go to Latest
function base32StringToBytes
Re-export
import { base32StringToBytes } from "https://deno.land/x/earthstar@v10.0.2/src/entries/npm.ts";

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

Returns

Uint8Array