Function decodeBlob
Decode and validate one complete serialized OSMPBF Blob message.
Validation performed here is independent of any decompressor backend:
exactly one known data payload must be present; raw_size, when present,
must be non-negative and below the format's exclusive 32 MiB hard limit;
compressed payloads require raw_size; and raw payloads must agree with an
explicitly supplied raw_size.
Parameters
| Name | Description |
|---|---|
| input | Complete serialized Blob message bytes. |
| blob | Receives the borrowed validated view on success. |
| status | Receives success or a precise PBF/wire failure. |
Returns
true when the Blob is structurally and semantically safe to process;
false otherwise.