Skip to main content

Encode and decode Protobuf-style varint bytes from a buffer

This package works with Bun, Cloudflare Workers, Node.js, Deno, Browsers
JSR Score
100%
Published
3 months ago (0.1.0)
v
decode

Decodes a varint

v
encode

Encodes a varint

v
encodingLength

Returns encoding length