You'd be best off creating it by hand, but if you want a starting point,
you can use protobuf-net to get some hints; add
[ProtoContract(ImplicitFields = ImplicitFields.AllPublic)] to your root
type (UAVState?), and use something
like Console.WriteLine(Serializer.GetProto()); to see the
content. I
I dont think the OS matters. Which version of g++ do you use?
On Friday, September 9, 2016 at 2:47:24 PM UTC-7, Sowmya Narayanam wrote:
>
> Can i compile protobuf-3.0 on freebsd-7
>
> Is there any compatibility matrix , for the supported OS and the probuf
> versions.
>
> I tried compiling and
No you have to make your proto definition of the structure of your class
yourself.
There is no existing tool for that. The generated code will also be
incompatible, with your custom implementation
On Friday, September 9, 2016 at 2:47:24 PM UTC-7, Gayatri Shah wrote:
>
> I am new to Protocol
On Thu, Sep 8, 2016 at 3:19 AM, Francesco Persico <
francescopers...@gmail.com> wrote:
> I am using protobuf as serialization to send DomainEvent(s) from one
> microservice to another one.
> So from one side i am sending messages to a Kafka topic (messages are
> protobuf serialized DomainEvent
Can i compile protobuf-3.0 on freebsd-7
Is there any compatibility matrix , for the supported OS and the probuf
versions.
I tried compiling and i got this error
Making all in src
depbase=`echo google/protobuf/api.pb.lo | sed
's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/bash ../libtool --tag=CXX
Hello,
I have successfully compiled my .proto file with google.proto.Timestamp and
generated the .cs file with protoc. The only problem i am having is
initialization in my c# code.
I have tried the following ,
*.proto File*
message teststamp{
string Name = 1 ;
string address = 2;
I am new to Protocol buffer. I have huge file that is in C# and I want to
convert that to protocol buffer definition.
How do I do that? Do i need to write Protocol definition line by line?
See attached file (Anything marked as non-serialized could be omitted;
pretty much anything that’s
I am using protobuf as serialization to send DomainEvent(s) from one
microservice to another one.
So from one side i am sending messages to a Kafka topic (messages are
protobuf serialized DomainEvent like UserCreated(...) or UserUpdated(...))
and it works good.
My .proto file is simple like
I'm working on legacy project that has some beans with up to 300 fields.
The problem is that serialization of such beans (to byte array for example)
takes more than 50 microseconds that is too much as I can get no more than
2 msg/sec in this case. I've found that writeTo() method is fast