[protobuf] Re: js-Protobuf read bytes wrong

2016-07-15 Thread Juli H
Note: C++'s setHandle/setError sets another field in the buffer, than js's getHandle/getError reads. Either C++ is setting the wrong field or js is reading the wrong field. So what's going wrong? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" gr

[protobuf] Re: js-Protobuf read bytes wrong

2016-07-15 Thread Juli H
Note: C++'s setHandle/setError sets another field in the buffer, than js's getHandle/getError reads. Whether C++ is setting the wrong field or js is reading the wrong field. So what's going wrong? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" g

[protobuf] Re: js-Protobuf read bytes wrong

2016-07-15 Thread Juli H
Note: C++'s setHandle sets another field in the buffer, than js's getHandle reads. Whether C++ is setting the wrong field or js is reading the wrong field. So what's going wrong? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscri

[protobuf] Re: js-Protobuf read bytes wrong

2016-07-15 Thread Juli H
So what's wrong, who is setting up the message wrong? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this

[protobuf] js-Protobuf read bytes wrong

2016-07-15 Thread Juli H
Hi, my protobuf messages gets send from the server (c++) to the client (js). The message in protobuf looks like: message LoadDataResponse > { > required uint32 error = 1; > optional uint32 handle = 2; > optional uint32 token = 3; > } > > After (server side) google::protobuf::io:

[protobuf] Where is jspb.Map for my Javascript protobuf-client?

2016-07-08 Thread Juli H
Hi, from a thread (https://groups.google.com/forum/#!topic/protobuf/v8nXb-aj0rg) I got the information that I have to include the protobuf/js/messages.js file to get the definition of jspb.Message. But including this file leads me to the next missing definition. In the messages.js a goog.requir

[protobuf] Re: Where is jspb.Message provided?

2016-07-08 Thread Juli H
In the message.js - File in Line 44 we can find that line: goog.require('jspb.Map'); But I can't find nowhere smth. named jspb.Map in the whole file-tree of protobuf. So where I can find jspb.Map? Julian -- You received this message because you are subscribed to the Google Groups "Protocol Bu