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

Writes a number x to w. Data-type defaults to int32.

Returns the number of bytes written.

Parameters

x: number
optional
o: VarnumOptions = [UNSUPPORTED]

Returns

Promise<number>