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