Function encodeZigZag64

Encode a signed 64-bit value using the protobuf ZigZag transform.

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

Parameters

NameDescription
value Signed value to encode.

Returns

The ZigZag-encoded unsigned 64-bit value.