Skip to main content
Module

x/bytebuf/bytebuf.ts>ByteBuf#getVarZint

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

Gets a signed, variable-length integer with zigzag encoding.

Parameters

byteOffset: number

The byte offset.

optional
maxByteLength: number

The maximum byte length.

Returns

The result.