Skip to main content
Module

std/encoding/mod.ts>varbig

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

Decode an integer from b, and return it as a bigint. Data-type defaults to int64. Returns EOF if b is too short for the data-type given in o.

Parameters

b: Uint8Array
optional
o: VarbigOptions = [UNSUPPORTED]

Returns

bigint | Deno.EOF