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