Méthode | Description | |
---|---|---|
GetData ( ) : byte[] |
Gets the full packet data with a big-endian length prepended onto the payload.
|
|
GetPayload ( ) : byte[] |
Gets the payload of this packet.
|
|
SetPayload ( byte payload ) : void |
Sets the payload of this packet.
|
|
TcpPacket ( ) |
Initializes a new instance of the TcpPacket class.
|
public SetPayload ( byte payload ) : void | ||
payload | byte | The payload. |
Résultat | void |