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