Свойство | Type | Description | |
---|---|---|---|
Data | byte[] | ||
Destination | |||
NeedToFlush | bool | ||
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 ) : |
Creates a new message based on the byte buffer however use only the first "size" byte for it.
|
|
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 ) : |
||
Dispose ( ) : void | ||
GetDataAsString ( int offset, int maxSize = 40 ) : string |
Retreives the payload as string.
|
|
GetDouble ( int position ) : double | ||
GetFloat ( int position ) : float | ||
GetInt16 ( int position ) : short | ||
GetInt32 ( int position ) : |
||
GetPayload ( ) : byte[] | ||
GetSByte ( int position ) : sbyte | ||
GetUInt16 ( int position ) : |
Returns an UInt16 at a given position
|
|
GetUInt32 ( int position ) : |
Returns an UInt32 at a given position
|
|
SetBytes ( int position, byte buff ) : void | ||
SetDataAsString ( string str ) : void | ||
SetDouble ( int position, double value ) : void | ||
SetFloat ( int position, float value ) : void | ||
SetInt16 ( int position, short value ) : void | ||
SetInt32 ( int position, int value ) : void | ||
SetSByte ( int position, sbyte value ) : void | ||
SetUInt16 ( int position, |
Writes an UInt16 at a given position
|
|
SetUInt32 ( int position, |
Writes an UInt32 at a given position
|
|
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 | ||
Résultat |
public static Create ( byte buff ) : |
||
buff | byte | |
Résultat |
public static Create ( byte buff, int size ) : |
||
buff | byte | |
size | int | |
Résultat |
public static Create ( int size ) : |
||
size | int | |
Résultat |
public GetDataAsString ( int offset, int maxSize = 40 ) : string | ||
offset | int | |
maxSize | int | |
Résultat | string |
public GetInt32 ( int position ) : |
||
position | int | |
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 SetDouble ( int position, double value ) : void | ||
position | int | |
value | double | |
Résultat | void |
public SetFloat ( int position, float value ) : void | ||
position | int | |
value | float | |
Résultat | void |
public SetInt16 ( int position, short value ) : void | ||
position | int | |
value | short | |
Résultat | void |
public SetInt32 ( int position, int value ) : void | ||
position | int | |
value | int | |
Résultat | void |
public SetSByte ( int position, sbyte value ) : void | ||
position | int | |
value | sbyte | |
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 | ||
Résultat |
public IPEndPoint,System.Net Destination | ||
Résultat |