import { varnum } from "https://deno.land/std@0.176.0/encoding/binary.ts";
Decodes a number from b
. If o.bytes
is shorter than sizeof(o.dataType)
, returns null
.
o.dataType
defaults to "int32"
.
Parameters
optional
o: VarnumOptions = [UNSUPPORTED]