Lines Matching refs:pb_istream_t
37 bool (*callback)(pb_istream_t *stream, pb_byte_t *buf, size_t count);
67 * pb_istream_t stream;
74 bool pb_decode(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct);
102 bool pb_decode_ex(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct, unsigned int flags);
128 pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t msglen);
130 /* Function to read from a pb_istream_t. You can use this if you need to
133 bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count);
142 bool pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, uint32_t *tag, bool *eof);
145 bool pb_skip_field(pb_istream_t *stream, pb_wire_type_t wire_type);
150 bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest);
157 bool pb_decode_varint32(pb_istream_t *stream, uint32_t *dest);
160 bool pb_decode_bool(pb_istream_t *stream, bool *dest);
165 bool pb_decode_svarint(pb_istream_t *stream, int64_t *dest);
167 bool pb_decode_svarint(pb_istream_t *stream, int32_t *dest);
172 bool pb_decode_fixed32(pb_istream_t *stream, void *dest);
177 bool pb_decode_fixed64(pb_istream_t *stream, void *dest);
182 bool pb_decode_double_as_float(pb_istream_t *stream, float *dest);
186 bool pb_make_string_substream(pb_istream_t *stream, pb_istream_t *substream);
187 bool pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream);