Skip to main content
Module

x/bytebuf/bytebuf.ts>ByteBuf#readVarInt

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

Reads the next signed, variable-length integer.

Parameters

optional
maxByteLength: number

The maximum byte length.

Returns

number

The value.