11 #ifndef PROTOBUF_UTILS_H
12 #define PROTOBUF_UTILS_H
14 #include <protobuf-c/protobuf-c.h>
size_t protobuf_c_message_del_get_packed_size(const ProtobufCMessage *message)
Determine the number of bytes required to store the length delimited serialised message.
Definition: protobuf_utils.c:53
size_t protobuf_c_message_del_pack(const ProtobufCMessage *message, uint8_t *out)
Serialise a message from its in-memory representation adding the lenght delimiter.
Definition: protobuf_utils.c:60