How to generate a Protobuff message definition ( .proto file)
I’m working on an addin in C# to generate .proto files based on a UML model in Enterprise Architect.
Will Protobuf FileOutputStream::Flush trigger fsync to write page cache to disk?
I have code
Will Protobuf FileOutputStream::Flush trigger fsync to write page cache to disk?
I have code
Protobuf 3.0 Any Type pack internals
I know that the Any type is nothing but a byte array (for data) and string field (type url). I would like to know how the packing of byte array in ‘Any’ type takes place. Lets say, I have a protobuf message ‘m1’ in .proto file. in C++ if I :
How to generate a Protobuff message definition ( .proto file) in C#
I’m working on an addin in C# to generate .proto files based on a UML model in Enterprise Architect.
C++ Protobuf DebugString does not return the human readable message, but the address
For C++ protobuf, I want to use the DebugString function to get the human readable message, but it returns the address, just like MessageLite at 0x7ffdc4a3ef00
unable to parse message using ParseFromIstream
I have a simple csv file that I am trying to read using protobuf. For some reason it fails at ParseFromIstream
How to use proto3 optional keyword in C code?
We serialize the proto file (proto3) and send it via nats as follows.
Memory allocation issue caused by ABI compatibility problem for dynamic proto library
I got a problem about memory allocation when I test ABI compatibility of dynamic proto library.
What version of protobuf and what language are you using?
Version: v3.19.6
Language: C++
Protobuf : Use in C++ crash and log is what(): Unknown error -1
google::protobuf::Arena arena; T *proto_ptra = google::protobuf::Arena::CreateMessage<T>(&arena); T b; proto_ptra->Swap(&b); why? run it and what(): Unknown error -1 protobuf can not Swap when using Arena? why? run it and what(): Unknown error -1 protobuf can not Swap when using Arena? c++ protocol-buffers New contributor zhaobo is a new contributor to this site. Take care in asking […]