C# Class OctoTorrent.Client.Messages.Standard.PieceMessage

Inheritance: PeerMessage
显示文件 Open project: Eskat0n/OctoTorrent Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Decode ( byte buffer, int offset, int length ) : void
Encode ( byte buffer, int offset ) : int
Equals ( object obj ) : bool
GetHashCode ( ) : int
PieceMessage ( ) : System
PieceMessage ( int pieceIndex, int startOffset, int blockLength ) : System
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

PieceMessage() public method

public PieceMessage ( ) : System
return System

PieceMessage() public method

public PieceMessage ( int pieceIndex, int startOffset, int blockLength ) : System
pieceIndex int
startOffset int
blockLength int
return System

ToString() public method

public ToString ( ) : string
return string