Go to the source code of this file.
|
bool | pb_encode (pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct) |
|
bool | pb_encode_ex (pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct, unsigned int flags) |
|
bool | pb_get_encoded_size (size_t *size, const pb_msgdesc_t *fields, const void *src_struct) |
|
pb_ostream_t | pb_ostream_from_buffer (pb_byte_t *buf, size_t bufsize) |
|
bool | pb_write (pb_ostream_t *stream, const pb_byte_t *buf, size_t count) |
|
bool | pb_encode_tag_for_field (pb_ostream_t *stream, const pb_field_iter_t *field) |
|
bool | pb_encode_tag (pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number) |
|
bool | pb_encode_varint (pb_ostream_t *stream, uint64_t value) |
|
bool | pb_encode_svarint (pb_ostream_t *stream, int64_t value) |
|
bool | pb_encode_string (pb_ostream_t *stream, const pb_byte_t *buffer, size_t size) |
|
bool | pb_encode_fixed32 (pb_ostream_t *stream, const void *value) |
|
bool | pb_encode_fixed64 (pb_ostream_t *stream, const void *value) |
|
bool | pb_encode_submessage (pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct) |
|
◆ PB_ENCODE_DELIMITED
#define PB_ENCODE_DELIMITED 0x02U |
◆ pb_encode_delimited
#define pb_encode_delimited |
( |
| s, |
|
|
| f, |
|
|
| d ) |
Value:
bool pb_encode_ex(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct, unsigned int flags)
#define PB_ENCODE_DELIMITED
Definition pb_encode.h:89
◆ PB_ENCODE_NULLTERMINATED
#define PB_ENCODE_NULLTERMINATED 0x04U |
◆ pb_encode_nullterminated
#define pb_encode_nullterminated |
( |
| s, |
|
|
| f, |
|
|
| d ) |
Value:
#define PB_ENCODE_NULLTERMINATED
Definition pb_encode.h:90
◆ PB_OSTREAM_SIZING
#define PB_OSTREAM_SIZING {0,0,0,0,0} |
◆ pb_encode()
◆ pb_encode_ex()
◆ pb_encode_fixed32()
bool pb_encode_fixed32 |
( |
pb_ostream_t * | stream, |
|
|
const void * | value ) |
◆ pb_encode_fixed64()
bool pb_encode_fixed64 |
( |
pb_ostream_t * | stream, |
|
|
const void * | value ) |
◆ pb_encode_string()
◆ pb_encode_submessage()
◆ pb_encode_svarint()
bool pb_encode_svarint |
( |
pb_ostream_t * | stream, |
|
|
int64_t | value ) |
◆ pb_encode_tag()
◆ pb_encode_tag_for_field()
◆ pb_encode_varint()
bool pb_encode_varint |
( |
pb_ostream_t * | stream, |
|
|
uint64_t | value ) |
◆ pb_get_encoded_size()
bool pb_get_encoded_size |
( |
size_t * | size, |
|
|
const pb_msgdesc_t * | fields, |
|
|
const void * | src_struct ) |
◆ pb_ostream_from_buffer()
◆ pb_write()