| 89 | } |
| 90 | |
| 91 | std::string_view GetString(const std::vector<Field>& fields, uint32_t fieldNum) { |
| 92 | auto* f = FindField(fields, fieldNum); |
| 93 | if (!f || f->wireType != LengthDelimited) return {}; |
| 94 | return { (const char*)f->data, f->dataLen }; |
| 95 | } |
| 96 | |
| 97 | // Writer implementation |
| 98 |
no test coverage detected