Function PbfStatus.fromBlobWire

Translate a generic wire failure into a Blob decoding failure.

static PbfStatus fromBlobWire(
  WireStatus wire,
  ulong baseOffset = 0LU
) pure nothrow @nogc @safe;

Parameters

NameDescription
wire Lower-level wire status.
baseOffset Offset of the start of the Blob wire buffer in the caller's coordinate system.

Returns

A PBF status whose offset is translated by baseOffset.