Click or drag to resize

ArithmeticZigZagEncode Method

[This is preliminary documentation and is subject to change.]

ZigZag encodes a signed integer and maps it to a unsigned integer

Namespace:  MLAPI.Serialization
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static ulong ZigZagEncode(
	long value
)
Request Example View Source

Parameters

value
Type: SystemInt64
The signed integer to encode

Return Value

Type: UInt64
A ZigZag encoded version of the integer
See Also