Skip to main content
Module

std/encoding/mod.ts>writeVarbig

Deno standard library
Go to Latest
function writeVarbig
import { writeVarbig } from "https://deno.land/std@0.38.0/encoding/mod.ts";

Writes an integer x to w. Data-type defaults to int64.

Returns the number of bytes written.

Parameters

x: bigint
optional
o: VarbigOptions = [UNSUPPORTED]

Returns

Promise<number>