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