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

NameTypeDescription
blob const(ubyte)[]Complete serialized Blob message bytes.
header BlobHeaderViewDecoded BlobHeader view.
offset ulongByte offset at which this block's four-byte length prefix begins.
sequence ulongMonotonic sequence number supplied by the caller/pipeline.

Properties

NameTypeDescription
encodedSize[get] ulongTotal encoded byte length of this block including the four-byte prefix.