[protobuf] How to integrate c++ protobuf (3.4) with Android NDK?

2017-12-22 Thread Ilya Tarakanov
How to compile static library for Android in Ubuntu 16.04? I want to use it with Cocos2d. -- 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

Re: [protobuf] How to fix “com.google.protobuf.InvalidProtocolBufferException: Cannot find field” thrown from JsonFormat.parser().merge(…)?

2017-12-22 Thread 'Feng Xiao' via Protocol Buffers
On Wed, Dec 20, 2017 at 4:18 PM, Behrang Saeedzadeh wrote: > Unfortunately I don't own the actual protocol buffer models and can't > change their definitions. > > What I actually want to do is this: I have a Protocol buffer model in > byte[] format. I want to deserialize it

Re: [protobuf] Re: How to speedup serialization and deserialization process?

2017-12-22 Thread Marc Gravell
I did a test locally using protobuf-net (since that is what I'm most familiar with); to get an output of about 3,784,000 I used a count of 172000 items in the inner array - does that sound about right? Then I tested it in a loop as per this gist: https://gist.github.com/mgravell/

[protobuf] Re: How to speedup serialization and deserialization process?

2017-12-22 Thread Ravi
Any suggestions, please? On Wednesday, December 20, 2017 at 10:00:31 PM UTC+9, Ravi wrote: > > I have defined the Protocol Buffers message file as follows: > > syntax = "proto3"; > package Tutorial; > import "google/protobuf/timestamp.proto"; > option csharp_namespace = "Tutorial"; > > message