Converter.ToShort Method
Namespace: Riptide.Utils
Assembly: RiptideNetworking.dll
ToShort(byte[], int)
Converts the 2 bytes in the array at startIndex
to a short.
public static short ToShort(byte[] array, int startIndex)
Parameters
byte[] | array |
The array to read the bytes from. |
int | startIndex |
The position in the array at which to read the bytes. |
Returns
short | The converted short. |