-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Home
dcodeIO edited this page Sep 10, 2014
·
101 revisions
ProtoBuf.js is a Protocol Buffers implementation on top of ByteBuffer.js including a .proto parser, reflection, message class building and simple encoding and decoding in plain JavaScript. There is no compilation step required, it's super easy to use and it works out of the box on .proto files.
Latest API changes:
- ProtoBuf.js 3.7 - OneOfs
- ProtoBuf.js 3.5 - Extension fields
- ProtoBuf.js 2.2 - Delimited encode/decode
- ProtoBuf.js 2.0 - General API
Frequently asked questions:
- Why ProtoBuf.js instead of, let's say, JSON?
- How to validate / decode / reverse engineer a protobuf buffer by hand?
- How to read binary data in the browser / under node.js?
- field_name looks ugly, can it be converted to fieldName?
- What about google/protobuf/descriptor.proto?
- See: wiki/Installation
- See: wiki/Getting-started