Struct BlobHeaderView
Borrowed view of a decoded BlobHeader message.
struct BlobHeaderView;
Every slice points into the caller-owned serialized header buffer. raw
includes unknown fields and duplicate occurrences exactly as received.
Fields
| Name | Type | Description |
|---|---|---|
dataSize
|
uint | Serialized length of the following Blob message.
|
hasIndexData
|
bool | Distinguishes an absent indexdata field from a present empty field.
|
indexData
|
const(ubyte)[] | Bytes from the last correctly encoded optional indexdata field.
|
raw
|
const(ubyte)[] | Complete serialized BlobHeader bytes. |
type
|
const(ubyte)[] | Bytes from the last correctly encoded required type field.
|
Properties
| Name | Type | Description |
|---|---|---|
kind[get]
|
BlobKind | Classify the standard OSM block types without allocating. |
reservedType[get]
|
bool | Returns whether the block type begins with the reserved underscore. |