Searched refs:length (Results 1 – 14 of 14) sorted by relevance
/nanopb-3.4.0/tests/callbacks/ |
D | decode_callbacks.c | 61 size_t length; in main() local 70 length = fread(buffer, 1, 1024, stdin); in main() 71 stream = pb_istream_from_buffer(buffer, length); in main()
|
/nanopb-3.4.0/docs/ |
D | concepts.md | 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. [all …]
|
D | reference.md | 41 * `max_length`: Maximum length for `string` fields. Setting this is equivalent to setting `max_size… 50 * `fixed_length`: Generate `bytes` fields with a constant length defined by `max_size`. A separate … 51 * `fixed_count`: Generate arrays with constant length defined by `max_count`. 232 |`PB_HTYPE_FIXARRAY` |0x20 |A repeated field that has constant length. 317 An byte array with a field for storing the length: 324 In an actual array, the length of `bytes` may be different. The macros 326 are used to allocate variable length storage for bytes fields. 480 message length on decoding side. 494 | returns | True on success, false if maximum length is exceeded or an IO error happen… 538 * `PB_ENCODE_DELIMITED`: Indicate the length of the message by prefixing with a varint-encoded leng… [all …]
|
D | whats_new.md | 29 platform. Now information about fields is stored as a variable length 34 One benefit of the variable length format is that most messages now take
|
D | migration.md | 136 `uint32_t` array in a variable-length format. Old 210 strings and assume that they are the full length of the defined array. 217 option `max_length` can be used to define the maximum string length,
|
/nanopb-3.4.0/generator/proto/ |
D | nanopb.proto | 53 // Maximum length for 'string' fields. Setting this is equivalent 54 // to setting max_size to a value of length+1. 100 // Generate bytes arrays with fixed length 154 // Fields with dynamic length are converted to either a pointer or a callback.
|
/nanopb-3.4.0/tests/field_size_16/ |
D | alltypes.proto | 138 // Second fixed length array field to test the length check logic.
|
/nanopb-3.4.0/tests/field_size_32/ |
D | alltypes.proto | 138 // Second fixed length array field to test the length check logic.
|
/nanopb-3.4.0/tests/site_scons/platforms/stm32/ |
D | stm32_ram.ld | 4 * FLASH.LENGTH: length of flash 6 * RAM.LENGTH: length of RAM bank 0
|
/nanopb-3.4.0/tests/alltypes/ |
D | alltypes.proto | 140 // Second fixed length array field to test the length check logic.
|
/nanopb-3.4.0/ |
D | pb_decode.c | 278 uint32_t length; in pb_skip_string() local 279 if (!pb_decode_varint32(stream, &length)) in pb_skip_string() 282 if ((size_t)length != length) in pb_skip_string() 287 return pb_read(stream, NULL, (size_t)length); in pb_skip_string()
|
D | CHANGELOG.txt | 253 Fix network_server socket example with zero-length strings (#421) 312 Extend inline / fixed length bytes array support (#244)
|
/nanopb-3.4.0/tests/any_type/google/protobuf/ |
D | duration.proto | 43 // A Duration represents a signed, fixed-length span of time represented
|
/nanopb-3.4.0/generator/proto/google/protobuf/ |
D | descriptor.proto | 513 // a single length-delimited blob. In proto3, only explicit setting it to 869 // the last relevant byte (so the length of the text = end - begin).
|