Module

std/encoding/hex.ts>encodedLen

Deno standard library
Go to Latest
function encodedLen
import { encodedLen } from "https://dotland.deno.dev/std@0.65.0/encoding/hex.ts";

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

Parameters

n: number

Returns

number