Protocol Buffers - Google's data interchange format (grpc依赖) https://developers.google.com/protocol-buffers/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
310 B

/*
** upb_encode: parsing into a upb_msg using a upb_msglayout.
*/
#ifndef UPB_ENCODE_H_
#define UPB_ENCODE_H_
#include "upb/msg.h"
UPB_BEGIN_EXTERN_C
char *upb_encode(const void *msg, const upb_msglayout *l, upb_arena *arena,
size_t *size);
UPB_END_EXTERN_C
#endif /* UPB_ENCODE_H_ */