Converter.FromFloat Method
Namespace: Riptide.Utils
Assembly: RiptideNetworking.dll
FromFloat(float, byte[], int)
Converts a given float to bytes and writes them into the given array.
public static void FromFloat(float value, byte[] array, int startIndex)
Parameters
float | value |
The float to convert. |
byte[] | array |
The array to write the bytes into. |
int | startIndex |
The position in the array at which to write the bytes. |