Function decodeZigZag64

Decode a protobuf sint64 payload after varint decoding.

long decodeZigZag64(
  ulong value
) pure nothrow @nogc @safe;

Parameters

NameDescription
value Unsigned ZigZag-encoded 64-bit value.

Returns

The corresponding signed 64-bit value.