Class DataEventArgs
Wraps the data sent/received event argument.
Inherited Members
Namespace: StreamExtended.Network
Assembly: StreamExtended.dll
Syntax
public class DataEventArgs : EventArgs
Constructors
DataEventArgs(Byte[], Int32, Int32)
Declaration
public DataEventArgs(byte[] buffer, int offset, int count)
Parameters
| Type | Name | Description |
|---|---|---|
| Byte[] | buffer | |
| Int32 | offset | |
| Int32 | count |
Properties
Buffer
The buffer with data.
Declaration
public byte[] Buffer { get; }
Property Value
| Type | Description |
|---|---|
| Byte[] |
Count
Length from offset in buffer with valid data.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Offset
Offset in buffer from which valid data begins.
Declaration
public int Offset { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |