ProtobufCMessage struct
An instance of a message. `ProtobufCMessage` is a light-weight "base class" for all messages. In particular, `ProtobufCMessage` doesn't have any allocation policy associated with it. That's because it's common to create `ProtobufCMessage` objects on the stack. In fact, that's what we recommend for sending messages. If the object is allocated from the stack, you can't really have a memory leak. This means that calls to functions like protobuf_c_message_unpack() which return a `ProtobufCMessage` must be paired with a call to a free function, like protobuf_c_message_free_unpacked().
Fields
The descriptor for this message type.
The number of elements in `unknown_fields`.
The fields that weren't recognized by the parser.