Lines Matching refs:pb_ostream_t
38 bool (*callback)(pb_ostream_t *stream, const uint8_t *buf, size_t count);
67 bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
72 bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
89 pb_ostream_t pb_ostream_from_buffer(uint8_t *buf, size_t bufsize);
109 bool pb_write(pb_ostream_t *stream, const uint8_t *buf, size_t count);
118 bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field);
122 bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number);
126 bool pb_encode_varint(pb_ostream_t *stream, uint64_t value);
130 bool pb_encode_svarint(pb_ostream_t *stream, int64_t value);
133 bool pb_encode_string(pb_ostream_t *stream, const uint8_t *buffer, size_t size);
137 bool pb_encode_fixed32(pb_ostream_t *stream, const void *value);
141 bool pb_encode_fixed64(pb_ostream_t *stream, const void *value);
148 bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);