pbf
pbf copied to clipboard
A low-level, lightweight protocol buffers implementation in JavaScript.
基于pyqtgraph的流畅性不输pyecharts但灵活一些
I'm using a JavaScript module generated by this library for GTFS Realtime to load https://data.texas.gov/Transportation/CapMetro-Vehicle-Positions-PB-File/eiei-9rpf and the result I'm getting back is empty. Here's my code: ```javascript fetch('https://data.texas.gov/download/eiei-9rpf/application%2Foctet-stream', {mode: 'no-cors'}).then(function(result)...
Numbers >= 2 ** 53 aren't accurate integers in JS. This is why we have BigInts to handle values larger than this. But this library doesn't utilize them at all
This adds two options `--es6` and `--typescript` which allow to generate ES6 or TypeScript code. Example ES6 output: ```js export const Envelope = { read(pbf, end) { // ... },...
Hi, First, thank you for this usefull tool. I run pbf file.proto --browser > file.proto.js on simple file and it worked flawlessly. Then I go for something more complex with...
Simple fix #102
Right now when using pbf in an angular application (or using a library that depends on pbf), angular emits a warning about using commonjs/amd dependencies, as they cause optimization bailouts...
As indicated here https://developers.google.com/protocol-buffers/docs/encoding The wire types of 3 and 4 (start and end groups) are "depreciated" ... but unfortunately they still exist on some protobuf packets floating around. This...
Hi there! This is related to #44 and mostly intended to initiate a discussion about integers larger than `MAX_SAFE_INTEGER`. It is also the result of me trying to figure out...
I've been using protobufjs and other tools for other languages, and everything is working great so far. I wanted to try swapping protobufjs for pbf, but pbf has an issue...