Method | Description | |
---|---|---|
Decode ( byte buffer, int offset, int length ) : void | ||
Encode ( byte buffer, int offset ) : int | ||
Equals ( object obj ) : bool | ||
GetHashCode ( ) : int | ||
HandshakeMessage ( ) : System.Collections.Generic | ||
HandshakeMessage ( InfoHash infoHash, string peerId, string protocolString ) : System.Collections.Generic | ||
HandshakeMessage ( InfoHash infoHash, string peerId, string protocolString, bool enableFastPeer ) : System.Collections.Generic | ||
HandshakeMessage ( InfoHash infoHash, string peerId, string protocolString, bool enableFastPeer, bool enableExtended ) : System.Collections.Generic | ||
HandshakeMessage ( bool enableFastPeer ) : System.Collections.Generic |
Creates a new HandshakeMessage
|
|
ToString ( ) : string |
|
Method | Description | |
---|---|---|
CheckForSupports ( IReadOnlyList |
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 |
public HandshakeMessage ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
public HandshakeMessage ( InfoHash infoHash, string peerId, string protocolString ) : System.Collections.Generic | ||
infoHash | InfoHash | |
peerId | string | |
protocolString | string | |
return | System.Collections.Generic |
public HandshakeMessage ( InfoHash infoHash, string peerId, string protocolString, bool enableFastPeer ) : System.Collections.Generic | ||
infoHash | InfoHash | |
peerId | string | |
protocolString | string | |
enableFastPeer | bool | |
return | System.Collections.Generic |
public HandshakeMessage ( InfoHash infoHash, string peerId, string protocolString, bool enableFastPeer, bool enableExtended ) : System.Collections.Generic | ||
infoHash | InfoHash | |
peerId | string | |
protocolString | string | |
enableFastPeer | bool | |
enableExtended | bool | |
return | System.Collections.Generic |
public HandshakeMessage ( bool enableFastPeer ) : System.Collections.Generic | ||
enableFastPeer | bool | |
return | System.Collections.Generic |