Struct PbfSourceReadStatus
Combined transport/PBF diagnostic for one ByteSource-backed PBF read.
struct PbfSourceReadStatus;
A clean source EOF is not a transport failure. When EOF occurs in the middle
of a PBF frame, transportError remains ReadError and pbf
reports malformed/truncated input, preserving the distinction between an
incomplete encoded file and an actual byte-source failure.
Fields
| Name | Type | Description |
|---|---|---|
pbf
|
PbfReadStatus | PBF semantic/framing status. Successful when transport alone failed. |
transportBytesRead
|
ulong | Bytes returned by the failed transport request, when any. |
transportError
|
transport | Generic transport failure, or ReadError.none. |
transportOffset
|
ulong | Absolute source offset of the failed transport request. |
Properties
| Name | Type | Description |
|---|---|---|
ok[get]
|
bool | True only when both transport and PBF processing succeeded. |