Package Exports
- pbf
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pbf) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
pbf
A protocol buffers implementation in JavaScript for node and browsers.
install
npm install pbf
api
Protobuf(buf, pos)
var Pbf = require('pbf');
var protobuffer = new Pbf(buffer);
var varInt = protobuffer.readVarInt();
Reading
- readUInt32
- readUInt32LE
- readUInt64
- readUInt64LE
- readDouble
- readDoubleLE
- readVarint
- readSVarint
- readString
- readPacked