---------------------------------------------------------------------
| 40 | { |
| 41 | //--------------------------------------------------------------------- |
| 42 | void ReadMessage( |
| 43 | google::protobuf::io::CodedInputStream& input, |
| 44 | google::protobuf::MessageLite& message) |
| 45 | { |
| 46 | unsigned int size = 0; |
| 47 | |
| 48 | if (!input.ReadVarint32(&size)) |
| 49 | THROW(L"Cannot read message size."); |
| 50 | auto limit = input.PushLimit(size); |
| 51 | |
| 52 | if (!message.ParseFromCodedStream(&input)) |
| 53 | THROW(L"Cannot parse message."); |
| 54 | |
| 55 | input.PopLimit(limit); |
| 56 | } |
| 57 | |
| 58 | //--------------------------------------------------------------------- |
| 59 | void InitCoverageDataFrom( |
no outgoing calls
no test coverage detected