varint-decoder
Parse all the varints in a Buffer (for when there are varints everywhere)
Last updated 6 years ago by achingbrain .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install varint-decoder 
SYNC missed versions from official npm registry.

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]

Current Tags

  • 1.0.0                                ...           latest (6 years ago)

4 Versions

  • 1.0.0                                ...           6 years ago
  • 0.4.0                                ...           6 years ago
  • 0.1.1                                ...           9 years ago
  • 0.1.0                                ...           9 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (3)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |