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