Class Arithmetic
Arithmetic helper class
Inherited Members
Namespace: Unity.Netcode
Assembly: solution.dll
Syntax
public static class Arithmetic
Methods
Name | Description |
---|---|
VarIntSize(ulong) | Gets the output size in bytes after VarInting a unsigned integer |
ZigZagDecode(ulong) | Decides a ZigZag encoded integer back to a signed integer |
ZigZagEncode(long) | ZigZag encodes a signed integer and maps it to a unsigned integer |