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.none and pbf reports malformed/truncated input, preserving the distinction between an incomplete encoded file and an actual byte-source failure.

Fields

NameTypeDescription
pbf PbfReadStatusPBF semantic/framing status. Successful when transport alone failed.
transportBytesRead ulongBytes returned by the failed transport request, when any.
transportError transport.source.ReadErrorGeneric transport failure, or ReadError.none.
transportOffset ulongAbsolute source offset of the failed transport request.

Properties

NameTypeDescription
ok[get] boolTrue only when both transport and PBF processing succeeded.