import { varnum } from "https://deno.land/std@0.38.0/encoding/binary.ts";
Decode a number from b
, and return it as a number
. Data-type defaults to int32
.
Returns EOF
if b
is too short for the data-type given in o
.
Parameters
optional
o: VarnumOptions = [UNSUPPORTED]