Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow/deps.ts>max32Width

Exploring Willow in the most efficient and sound programming language
Go to Latest
function max32Width
Re-export
import { max32Width } from "https://deno.land/x/willow@0.2.1/deps.ts";

Returns the maximum number of octets needed to store an unsigned integer.

Parameters

num: number

Returns

| 1
| 2
| 3
| 4