Converter.ULongToBits Method
Namespace: Riptide.Utils
Assembly: RiptideNetworking.dll
Overloads
| ULongToBits(ulong, byte[], int) | Converts |
| ULongToBits(ulong, ulong[], int) | Converts |
ULongToBits(ulong, byte[], int)
Converts value to 64 bits and writes them into array at startBit.
public static void ULongToBits(ulong value, byte[] array, int startBit)
Parameters
| ulong | value |
The ulong to convert. |
| byte[] | array |
The array to write the bits into. |
| int | startBit |
The position in the array at which to write the bits. |
ULongToBits(ulong, ulong[], int)
Converts value to 64 bits and writes them into array at startBit.
public static void ULongToBits(ulong value, ulong[] array, int startBit)
Parameters
| ulong | value |
The ulong to convert. |
| ulong[] | array |
The array to write the bits into. |
| int | startBit |
The position in the array at which to write the bits. |