Свойство | Type | Description | |
---|---|---|---|
Data | byte[] | ||
Destination | |||
Kind | DataPacketKind | ||
ReverseAnswer | bool | ||
Sender |
Méthode | Description | |
---|---|---|
Clone ( ) : object |
Clone this packet, creating an exact copy. As the clone function is an implementation of IClonable it must return an object.
|
|
Create ( |
Merges 2 packets together
|
|
Create ( |
Creates a new message based on an existing packed and use the "size" to extract only the first part.
|
|
Create ( byte buff ) : |
||
Create ( byte buff, int size, |
Creates a new message based on the byte buffer however use only the first "size" byte for it.
|
|
Create ( int size ) : |
||
Create ( int payloadSize, |
Creates a new message with the given payload size and sets the payload size correctly.
|
|
GetDataAsString ( ) : string |
Retreives the payload as string.
|
|
GetUInt16 ( int position ) : |
Returns an UInt16 at a given position
|
|
GetUInt32 ( int position ) : |
Returns an UInt32 at a given position
|
|
Padding ( int size ) : int | ||
SetBytes ( int position, byte buff ) : void | ||
SetDataAsString ( string str ) : void | ||
SetUInt16 ( int position, |
Writes an UInt16 at a given position
|
|
SetUInt32 ( int position, |
Writes an UInt32 at a given position
|
|
ShowPools ( ) : void | ||
SkipSize ( |
Skips a given size from the data block
|
Méthode | Description | |
---|---|---|
DataPacket ( ) : System |
public static Create ( |
||
remaining | ||
newPacket | ||
Résultat |
public static Create ( |
||
packet | ||
size | ||
reuse | bool | |
Résultat |
public static Create ( byte buff ) : |
||
buff | byte | |
Résultat |
public static Create ( byte buff, int size, |
||
buff | byte | |
size | int | |
chain | ||
reuseBuffer | bool | |
Résultat |
public static Create ( int size ) : |
||
size | int | |
Résultat |
public static Create ( int payloadSize, |
||
payloadSize | int | |
chain | ||
Résultat |
public GetUInt16 ( int position ) : |
||
position | int | |
Résultat |
public GetUInt32 ( int position ) : |
||
position | int | |
Résultat |
public SetBytes ( int position, byte buff ) : void | ||
position | int | |
buff | byte | |
Résultat | void |
public SetDataAsString ( string str ) : void | ||
str | string | |
Résultat | void |
public SetUInt16 ( int position, |
||
position | int | |
value | ||
Résultat | void |
public SetUInt32 ( int position, |
||
position | int | |
value | ||
Résultat | void |
public SkipSize ( |
||
size | ||
reuse | bool | |
Résultat |
public IPEndPoint,System.Net Destination | ||
Résultat |