Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/bytebuf/bytebuf.ts>ByteBuf#writeVarInt

A byte buffer for encoding and decoding binary data in JavaScript.
Latest
method ByteBuf.prototype.writeVarInt
import { ByteBuf } from "https://deno.land/x/bytebuf@1.2.0/bytebuf.ts";

Writes the next signed, variable-length integer.

Parameters

value: number

The value.

optional
maxByteLength: number

The maximum byte length.