varint-decoder

1.0.0 • Public • Published

varint-decoder

Coverage Status Travis CI Circle CI Dependency Status js-standard-style

Parse all the varints in a Buffer (for when there are varints everywhere)

Usage

API

const vd = require('varint-decoder')
const buf = new Buffer('000110', 'hex')
 
const decoded = vd(buf)
 
console.log(decoded)
// [0, 1, 16]

Readme

Keywords

Package Sidebar

Install

npm i varint-decoder

Weekly Downloads

10,827

Version

1.0.0

License

MIT

Unpacked Size

1.57 MB

Total Files

32

Last publish

Collaborators

  • daviddias
  • achingbrain