import { putVarnum } from "https://deno.land/std@0.41.0/encoding/binary.ts";
Encode a number x
into b
, and return the number of bytes used. Data-type defaults to int32
.
Returns 0 if b
is too short for the data-type given in o
.
import { putVarnum } from "https://deno.land/std@0.41.0/encoding/binary.ts";
Encode a number x
into b
, and return the number of bytes used. Data-type defaults to int32
.
Returns 0 if b
is too short for the data-type given in o
.