Function skipFieldValue
Skip one primitive protobuf field value.
bool skipFieldValue(
scope ref WireCursor cursor,
FieldHeader header,
out WireStatus status
) nothrow @nogc @safe;
Groups are recognized by readFieldHeader, but intentionally not skipped
yet because correct group skipping requires matching nested end-group field
numbers and a bounded nesting policy. Current OSMPBF schemas do not use
groups, so encountering one fails closed instead of silently discarding it.
Parameters
| Name | Description |
|---|---|
| cursor | Cursor positioned immediately after the field key. |
| header | Previously decoded field header. |
| status | Receives success or the reason the value could not be skipped. |
Returns
true if the complete field value was safely skipped; false otherwise.