Method IsNewer
IsNewer(uint, uint)
This method was originally added in February 2019, but does not seem to be used anywhere currently. Its original context seems to have been intended for a very simple version of checking whether a packet's sequence ID was equal to or newer than the last received packet.
Declaration
public static bool IsNewer(uint current, uint old)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | current | The sequence ID of a newly-arrived packet to check |
| uint | old | The sequence ID of a previously received packet |
Returns
| Type | Description |
|---|---|
| bool | true if current is newer than old |