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