Lines Matching full:pb_encode_varint
436 Writing packed arrays is a little bit more involved: you need to use `pb_encode_tag` and specify `PB_WT_STRING` as the wire type. Then you need to know exactly how much data you are going to write, and use `pb_encode_varint`_ to write out the number of bytes before writing the actual data. Substreams can be used to determine the number of bytes beforehand; see `pb_encode_submessage`_ source code for an example.
472 pb_encode_varint
476 bool pb_encode_varint(pb_ostream_t *stream, uint64_t value);
490 (parameters are the same as for `pb_encode_varint`_