[protobuf] Regarding Mocking gRPC in c++ based Client Server Module

2020-10-12 Thread rohit nv
Hello All Can anyone share some useful links and contents related to mocking gRPC code for Unit testing a Server Streaming gRPC communication. I have mocked the gRPC proto files using the enable generate_mock_cod flag. Regards, Rohit -- You received this message because you are subscribed to

[protobuf] How to Assign encoding number to the field inside message

2020-06-30 Thread rohit nv
I am new to the gRPC and Protobuf. Wanted to know the significance of encoding number infront of field. In tutorial I saw about the usage of no between 1-15 for frequently used fields as it require 1 byte of encoding and 16 to remaining carries 2 bytes of encoding. May I know when to to use wha