Sha256: 9aed5d7967d9261c4833dfeaf2dbe8d6e6e687e09d1b8663f719ec15c1dcf5a0
Contents?: true
Size: 829 Bytes
Versions: 12
Compression:
Stored size: 829 Bytes
Contents
/* ** upb_decode: parsing into a upb_msg using a upb_msglayout. */ #ifndef UPB_DECODE_H_ #define UPB_DECODE_H_ #include "upb/msg.h" /* Must be last. */ #include "upb/port_def.inc" #ifdef __cplusplus extern "C" { #endif enum { /* If set, strings will alias the input buffer instead of copying into the * arena. */ UPB_DECODE_ALIAS = 1, }; #define UPB_DECODE_MAXDEPTH(depth) ((depth) << 16) bool _upb_decode(const char *buf, size_t size, upb_msg *msg, const upb_msglayout *l, upb_arena *arena, int options); UPB_INLINE bool upb_decode(const char *buf, size_t size, upb_msg *msg, const upb_msglayout *l, upb_arena *arena) { return _upb_decode(buf, size, msg, l, arena, 0); } #ifdef __cplusplus } /* extern "C" */ #endif #include "upb/port_undef.inc" #endif /* UPB_DECODE_H_ */
Version data entries
12 entries across 12 versions & 1 rubygems