Parse all the varints in a Buffer (for when there are varints everywhere)
npm install varint-decodervarint-decoder
==============






 


> Parse all the varints in a Buffer (for when there are varints everywhere)
``JavaScript
const vd = require('varint-decoder')
const buf = new Buffer('000110', 'hex')
const decoded = vd(buf)
console.log(decoded)
// [0, 1, 16]
``