Go to the source code of this file.
|
#define | PB_ISTREAM_EMPTY {0,0,0,0} |
|
#define | PB_DECODE_NOINIT 0x01U |
|
#define | PB_DECODE_DELIMITED 0x02U |
|
#define | PB_DECODE_NULLTERMINATED 0x04U |
|
#define | pb_decode_noinit(s, f, d) |
|
#define | pb_decode_delimited(s, f, d) |
|
#define | pb_decode_delimited_noinit(s, f, d) |
|
#define | pb_decode_nullterminated(s, f, d) |
|
|
bool | pb_decode (pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct) |
|
bool | pb_decode_ex (pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct, unsigned int flags) |
|
void | pb_release (const pb_msgdesc_t *fields, void *dest_struct) |
|
pb_istream_t | pb_istream_from_buffer (const pb_byte_t *buf, size_t msglen) |
|
bool | pb_read (pb_istream_t *stream, pb_byte_t *buf, size_t count) |
|
bool | pb_decode_tag (pb_istream_t *stream, pb_wire_type_t *wire_type, uint32_t *tag, bool *eof) |
|
bool | pb_skip_field (pb_istream_t *stream, pb_wire_type_t wire_type) |
|
bool | pb_decode_varint (pb_istream_t *stream, uint64_t *dest) |
|
bool | pb_decode_varint32 (pb_istream_t *stream, uint32_t *dest) |
|
bool | pb_decode_bool (pb_istream_t *stream, bool *dest) |
|
bool | pb_decode_svarint (pb_istream_t *stream, int64_t *dest) |
|
bool | pb_decode_fixed32 (pb_istream_t *stream, void *dest) |
|
bool | pb_decode_fixed64 (pb_istream_t *stream, void *dest) |
|
bool | pb_make_string_substream (pb_istream_t *stream, pb_istream_t *substream) |
|
bool | pb_close_string_substream (pb_istream_t *stream, pb_istream_t *substream) |
|
◆ PB_DECODE_DELIMITED
#define PB_DECODE_DELIMITED 0x02U |
◆ pb_decode_delimited
#define pb_decode_delimited |
( |
| s, |
|
|
| f, |
|
|
| d ) |
Value:
#define PB_DECODE_DELIMITED
Definition pb_decode.h:109
bool pb_decode_ex(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct, unsigned int flags)
◆ pb_decode_delimited_noinit
#define pb_decode_delimited_noinit |
( |
| s, |
|
|
| f, |
|
|
| d ) |
Value:
#define PB_DECODE_NOINIT
Definition pb_decode.h:108
◆ PB_DECODE_NOINIT
#define PB_DECODE_NOINIT 0x01U |
◆ pb_decode_noinit
#define pb_decode_noinit |
( |
| s, |
|
|
| f, |
|
|
| d ) |
◆ PB_DECODE_NULLTERMINATED
#define PB_DECODE_NULLTERMINATED 0x04U |
◆ pb_decode_nullterminated
#define pb_decode_nullterminated |
( |
| s, |
|
|
| f, |
|
|
| d ) |
Value:
#define PB_DECODE_NULLTERMINATED
Definition pb_decode.h:110
◆ PB_ISTREAM_EMPTY
#define PB_ISTREAM_EMPTY {0,0,0,0} |
◆ pb_close_string_substream()
◆ pb_decode()
◆ pb_decode_bool()
◆ pb_decode_ex()
◆ pb_decode_fixed32()
bool pb_decode_fixed32 |
( |
pb_istream_t * | stream, |
|
|
void * | dest ) |
◆ pb_decode_fixed64()
bool pb_decode_fixed64 |
( |
pb_istream_t * | stream, |
|
|
void * | dest ) |
◆ pb_decode_svarint()
bool pb_decode_svarint |
( |
pb_istream_t * | stream, |
|
|
int64_t * | dest ) |
◆ pb_decode_tag()
◆ pb_decode_varint()
bool pb_decode_varint |
( |
pb_istream_t * | stream, |
|
|
uint64_t * | dest ) |
◆ pb_decode_varint32()
bool pb_decode_varint32 |
( |
pb_istream_t * | stream, |
|
|
uint32_t * | dest ) |
◆ pb_istream_from_buffer()
◆ pb_make_string_substream()
◆ pb_read()
◆ pb_release()
void pb_release |
( |
const pb_msgdesc_t * | fields, |
|
|
void * | dest_struct ) |
◆ pb_skip_field()