DataReceivedEventArgs Constructor
Namespace: Riptide.Transports
Assembly: RiptideNetworking.dll
DataReceivedEventArgs(byte[], int, Connection)
Initializes event data.
public DataReceivedEventArgs(byte[] dataBuffer, int amount, Connection fromConnection)
Parameters
| byte[] | dataBuffer |
An array containing the received data. |
| int | amount |
The number of bytes that were received. |
| Connection | fromConnection |
The connection which the data was received from. |