Skip to main content
Module

std/encoding/binary.ts>varbig

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

Decodes a bigint from b. If o.bytes is shorter than sizeof(o.dataType), returns null.

o.dataType defaults to "int64".

Parameters

b: Uint8Array
optional
o: VarbigOptions = [UNSUPPORTED]

Returns

bigint | null