Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
function encodedLen
import { encodedLen } from "https://deno.land/x/denjucks@1.1.1/src/deps/path/std/encoding/hex.ts";

EncodedLen returns the length of an encoding of n source bytes. Specifically, it returns n * 2.

Parameters

n: number

Returns

number