Message.GetVarULong Method
Namespace: Riptide
Assembly: RiptideNetworking.dll
GetVarULong()
Retrieves a positive number from the message, using fewer bits for smaller values.
public ulong GetVarULong()
Returns
ulong | The value that was retrieved. |
Remarks
The value is retrieved in segments of 8 bits, 1 of which is used to indicate whether or not another segment follows. As a result, small values are retrieved from the message using fewer bits, while large values will require a few more bits than they would if they were retrieved via GetByte(), GetUShort(), GetUInt(), or GetULong() (or their signed counterparts).