Questions tagged [protobufjs]

protobuf.js is a pure JavaScript implementation of the Google's Protocol Buffers.

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.

34 questions
0
votes
0 answers

Sending Http2 Request to GRPC Server Node, Illegal Buffer

I am attempting to utilize protobuf.js and provide it a transport layer (rpcimpl) since it is transport agnostic. I can successfully convert all the proto files and to a direct grpc Client and Sever via protobuf (loadSync, lookup) to grpc's…
Nick
  • 1,174
  • 11
  • 20
0
votes
0 answers

Protobuf C# can't deserialize message from protobufjs

Im trying to deserialize a message which is getting posted by a script on a specific website. I have looked through the script and noticed that it uses protobufjs. The message structure is loaded from a JSON file from the server which looks like…
0
votes
1 answer

Protobuf js sending a message as byte array

Am trying to send a proto3 message in node js and encoding into byte array. however according to protobuf js the message is encoded to buffer (and not byte array) instead in node js. Is there a way of encoding this message to byte array as well? var…
Stanley
  • 2,798
  • 5
  • 22
  • 44
0
votes
1 answer

Loading: long, ByteBuffer and ProtoBuff with requirejs

Working on a project that gets its content with ProtoBuff. Made it work once with the loading of the JavaScripts in the HTML. Now refactoring to use requirejs to load the scripts. But when I try to use the scripts, it gives an error telling me the…
1 2
3