Try to search your question here, if you can't find : Ask Any Question Now ?

How do I inflate Protobuf extensions?

HomeCategory: stackoverflowHow do I inflate Protobuf extensions?
pragati asked 7 days ago
message base
{
    required int32 cmd = 1;
    extensions 1000 to max;  
} 

message derived
{
    extend   base{ required derived test = 1001; }
    required int32 a = 1;

    extensions 1000 to 3000;  
}

message derived2
{
    extend   derived{ required derived2 b = 1001; 
    required int32 b = 1;
}

considering that this is the proto file.

How would i inflate derived.a and base.cmd while creating a derived2 protobuf object in C#?

considering the solution would be involving either protobuf / protobuf-net library

1 Answers
Best Answer
Fernando answered 7 days ago
Your Answer

6 + 7 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com