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

x/bytebuf/bytebuf.ts>ByteBuf#writeVarZint

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

Writes the next unsigned, variable-length integer with zigzag encoding.

Parameters

value: number

The value.

optional
maxByteLength: number

The maximum byte length.