• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2 ** upb_encode: parsing into a upb_msg using a upb_msglayout.
3 */
4 
5 #ifndef UPB_ENCODE_H_
6 #define UPB_ENCODE_H_
7 
8 #include "upb/msg.h"
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 char *upb_encode(const void *msg, const upb_msglayout *l, upb_arena *arena,
15                  size_t *size);
16 
17 #ifdef __cplusplus
18 }  /* extern "C" */
19 #endif
20 
21 #endif  /* UPB_ENCODE_H_ */
22