Lines Matching refs:length
65 5) Always read or write the full requested length of data. For example,
113 6) You don't need to know the length of the message in advance. After
160 variable-length datatypes are more complex:
185 **String with unknown length:**\
189 **String with known maximum length:**\
205 **Bytes field with fixed length:**\
218 exceeds the allocated length, `pb_decode()` will return false.
220 > **Note:** For the `bytes` datatype, the field length checking may not be
223 structure size is padding. Therefore it uses the whole length of the
227 bytes there. For the `string` field type, the length limit is exact.
235 able to handle arrays with unlimited length, possibly larger than available
304 When decoding, the callback receives a length-limited substring that
306 read. For `string` and `bytes`, the length value has already been
543 1. Encode the message length.
549 streams typically only need a way to identify the message length and
557 data with a varint-encoded length.
574 3) Unterminated message (incorrect message length).