C# Class Universal.Torrent.Client.Messages.UdpTrackerMessages.ErrorMessage

Inheritance: UdpTrackerMessage
显示文件 Open project: haroldma/Universal.Torrent Class Usage Examples

Public Methods

Method Description
Decode ( byte buffer, int offset, int length ) : void
Encode ( byte buffer, int offset ) : int
ErrorMessage ( ) : System.Text
ErrorMessage ( int transactionId, string error ) : System.Text

Method Details

Decode() public method

public Decode ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
return void

Encode() public method

public Encode ( byte buffer, int offset ) : int
buffer byte
offset int
return int

ErrorMessage() public method

public ErrorMessage ( ) : System.Text
return System.Text

ErrorMessage() public method

public ErrorMessage ( int transactionId, string error ) : System.Text
transactionId int
error string
return System.Text