Struct BlobView
Borrowed validated view of one serialized OSMPBF Blob message.
Fields
| Name | Type | Description |
codec
|
BlobCodec | Active, unambiguous payload representation.
|
hasRawSize
|
bool | Whether protobuf field 2 (raw_size) was explicitly present.
|
payload
|
const(ubyte)[] | Borrowed bytes from the active payload field.
|
payloadOffset
|
ulong | Offset of the active payload field key inside raw.
|
raw
|
const(ubyte)[] | Complete serialized Blob bytes, including unknown fields.
|
rawSize
|
uint | Validated uncompressed size in bytes.
|
rawSizeOffset
|
ulong | Offset of the final correctly encoded raw_size field key.
|
Properties
| Name | Type | Description |
compressed[get]
|
bool | Return whether the active representation is compressed.
|
payloadFieldNumber[get]
|
uint | Return the protobuf field number of the active payload.
|