import { varbig } from "https://deno.land/std@0.188.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
optional
o: VarbigOptions = [UNSUPPORTED]