Method ZigZagEncode
ZigZagEncode(long)
ZigZag encodes a signed integer and maps it to a unsigned integer
Declaration
public static ulong ZigZagEncode(long value)
Parameters
Type | Name | Description |
---|---|---|
long | value | The signed integer to encode |
Returns
Type | Description |
---|---|
ulong | A ZigZag encoded version of the integer |