Deprecated
(will be removed after 0.205.0) Use DataView instead.
Encodes bigint x
into b
. Returns the number of bytes used, or 0
if b
is shorter than sizeof(o.dataType)
.
o.dataType
defaults to "int64"
.
import { putVarbig } from "https://deno.land/std@0.201.0/encoding/binary.ts";