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