Struct FileBlockView
Borrowed view of one complete serialized PBF file block.
struct FileBlockView;
header and blob point into the caller-owned file buffer. blob is still
the serialized Blob protobuf message; this framing layer neither parses
nor decompresses it.
Fields
| Name | Type | Description |
|---|---|---|
blob
|
const(ubyte)[] | Complete serialized Blob message bytes. |
header
|
BlobHeaderView | Decoded BlobHeader view. |
offset
|
ulong | Byte offset at which this block's four-byte length prefix begins. |
sequence
|
ulong | Monotonic sequence number supplied by the caller/pipeline. |
Properties
| Name | Type | Description |
|---|---|---|
encodedSize[get]
|
ulong | Total encoded byte length of this block including the four-byte prefix. |