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