Converter.ULongFromBits Method
Namespace: Riptide.Utils
Assembly: RiptideNetworking.dll
Overloads
| ULongFromBits(byte[], int) | Converts the 64 bits at |
| ULongFromBits(ulong[], int) | Converts the 64 bits at |
ULongFromBits(byte[], int)
Converts the 64 bits at startBit in array to a ulong.
public static ulong ULongFromBits(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
| ulong | The converted ulong. |
ULongFromBits(ulong[], int)
Converts the 64 bits at startBit in array to a ulong.
public static ulong ULongFromBits(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
| ulong | The converted ulong. |