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

x/deno/std/encoding/hex.ts>decodedLen

A modern runtime for JavaScript and TypeScript.
Go to Latest
function decodedLen
import { decodedLen } from "https://deno.land/x/deno@v0.22.0/std/encoding/hex.ts";

DecodedLen returns the length of a decoding of x source bytes. Specifically, it returns x / 2.

Parameters

x: number

Returns

number