Function PbfStatus.fromWire

Translate a generic wire failure into a BlobHeader decoding failure.

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

Parameters

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

Returns

A PBF status whose offset is translated by baseOffset.