Method | Description | |
---|---|---|
CancelMessage ( ) : System.Text |
Creates a new CancelMessage
|
|
CancelMessage ( int pieceIndex, int startOffset, int requestLength ) : System.Text |
Creates a new CancelMessage
|
|
Decode ( byte buffer, int offset, int length ) : void | ||
Encode ( byte buffer, int offset ) : int | ||
Equals ( object obj ) : bool | ||
GetHashCode ( ) : int | ||
ToString ( ) : string |
|
public CancelMessage ( int pieceIndex, int startOffset, int requestLength ) : System.Text | ||
pieceIndex | int | The index of the piece to cancel |
startOffset | int | The offset in bytes of the block of data to cancel |
requestLength | int | The length in bytes of the block of data to cancel |
return | System.Text |
public Decode ( byte buffer, int offset, int length ) : void | ||
buffer | byte | |
offset | int | |
length | int | |
return | void |
public Encode ( byte buffer, int offset ) : int | ||
buffer | byte | |
offset | int | |
return | int |