Skip to main content
Module

x/bytebuf/bytebuf.ts>ByteBuf#getVarInt

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

Gets a signed, variable-length integer.

Parameters

byteOffset: number

The byte offset.

optional
maxByteLength: number = [UNSUPPORTED]

The maximum byte length.

Returns

The result.