Message.GetSBytes Method
Namespace: Riptide
Assembly: RiptideNetworking.dll
Overloads
GetSBytes() | Retrieves an sbyte array from the message. |
GetSBytes(int) | Retrieves an sbyte array from the message. |
GetSBytes(sbyte[], int) | Populates a sbyte array with bytes retrieved from the message. |
GetSBytes(int, sbyte[], int) | Populates a sbyte array with bytes retrieved from the message. |
GetSBytes()
Retrieves an sbyte array from the message.
public sbyte[] GetSBytes()
Returns
sbyte[] | The array that was retrieved. |
GetSBytes(int)
Retrieves an sbyte array from the message.
public sbyte[] GetSBytes(int amount)
Parameters
int | amount |
The amount of sbytes to retrieve. |
Returns
sbyte[] | The array that was retrieved. |
GetSBytes(sbyte[], int)
Populates a sbyte array with bytes retrieved from the message.
public void GetSBytes(sbyte[] intoArray, int startIndex = 0)
Parameters
sbyte[] | intoArray |
The array to populate. |
int | startIndex |
The position at which to start populating |
GetSBytes(int, sbyte[], int)
Populates a sbyte array with bytes retrieved from the message.
public void GetSBytes(int amount, sbyte[] intoArray, int startIndex = 0)
Parameters
int | amount |
The amount of sbytes to retrieve. |
sbyte[] | intoArray |
The array to populate. |
int | startIndex |
The position at which to start populating |