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