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

NameTypeDescription
dataSize uintSerialized length of the following Blob message.
hasIndexData boolDistinguishes 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

NameTypeDescription
kind[get] BlobKindClassify the standard OSM block types without allocating.
reservedType[get] boolReturns whether the block type begins with the reserved underscore.