import { readVarbig } from "https://deno.land/std@0.78.0/encoding/binary.ts";
Decodes a bigint from r
, comsuming sizeof(o.dataType)
bytes. If less than sizeof(o.dataType)
bytes were read, throws Deno.errors.unexpectedEof
.
o.dataType
defaults to "int64"
.