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

x/earthstar/src/util/bytes.ts>stringLengthInBytes

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
function stringLengthInBytes
import { stringLengthInBytes } from "https://deno.land/x/earthstar@v10.0.0-alpha.4/src/util/bytes.ts";

Parameters

str: string

Returns

number