Function decodeZigZag32

Decode a protobuf sint32 payload after varint decoding.

int decodeZigZag32(
  uint value
) pure nothrow @nogc @safe;

Parameters

NameDescription
value Unsigned ZigZag-encoded 32-bit value.

Returns

The corresponding signed 32-bit value.