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

x/bytebuf/bytebuf.ts>ByteBuf#readVarUint

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

Reads the next unsigned, variable-length integer.

Parameters

optional
maxByteLength: number

The maximum byte length.

Returns

number

The value.