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