13 memset(&msg, 0xAA,
sizeof(msg));
16 msg.submsg.boolfield =
false;
17 msg.submsg.intfield = 0;
27 TEST(stream.bytes_written == 0);
pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize)
bool pb_encode(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct)
static void * memset(void *s, int c, size_t n)