Converter.UIntFromBits Method
Namespace: Riptide.Utils
Assembly: RiptideNetworking.dll
Overloads
| UIntFromBits(byte[], int) | Converts the 32 bits at |
| UIntFromBits(ulong[], int) | Converts the 32 bits at |
UIntFromBits(byte[], int)
Converts the 32 bits at startBit in array to a uint.
public static uint UIntFromBits(byte[] array, int startBit)
Parameters
| byte[] | array |
The array to convert the bits from. |
| int | startBit |
The position in the array from which to read the bits. |
Returns
| uint | The converted uint. |
UIntFromBits(ulong[], int)
Converts the 32 bits at startBit in array to a uint.
public static uint UIntFromBits(ulong[] array, int startBit)
Parameters
| ulong[] | array |
The array to convert the bits from. |
| int | startBit |
The position in the array from which to read the bits. |
Returns
| uint | The converted uint. |