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
317 B
18 lines
317 B
7 years ago
|
/*
|
||
|
** 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_msginit_v1 *l,
|
||
|
upb_env *env, size_t *size);
|
||
|
|
||
|
UPB_END_EXTERN_C
|
||
|
|
||
|
#endif /* UPB_ENCODE_H_ */
|