C# Class Universal.Torrent.Client.Messages.FastPeerExtensions.SuggestPieceMessage

Inheritance: PeerMessage, IFastPeerMessage
Datei anzeigen Open project: haroldma/Universal.Torrent

Public Methods

Method Description
Decode ( byte buffer, int offset, int length ) : void
Encode ( byte buffer, int offset ) : int
Equals ( object obj ) : bool
GetHashCode ( ) : int
SuggestPieceMessage ( ) : System.Text

Creates a new SuggestPiece message

SuggestPieceMessage ( int pieceIndex ) : System.Text

Creates a new SuggestPiece message

ToString ( ) : string

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

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

SuggestPieceMessage() public method

Creates a new SuggestPiece message
public SuggestPieceMessage ( ) : System.Text
return System.Text

SuggestPieceMessage() public method

Creates a new SuggestPiece message
public SuggestPieceMessage ( int pieceIndex ) : System.Text
pieceIndex int The suggested piece to download
return System.Text

ToString() public method

public ToString ( ) : string
return string