C# Class OctoTorrent.Client.FastResume

Mostra file Open project: Eskat0n/OctoTorrent Class Usage Examples

Public Methods

Method Description
Decode ( byte data ) : FastResume
Encode ( ) : BEncodedDictionary
Encode ( Stream stream ) : void
FastResume ( BEncodedDictionary dict ) : Common.System
FastResume ( InfoHash infoHash, BitField bitfield ) : Common.System

Private Methods

Method Description
CheckContent ( BEncodedDictionary dict, BEncodedString key ) : void
CheckContent ( BEncodedDictionary dict, BEncodedString key, BEncodedNumber value ) : void

Method Details

Decode() public static method

public static Decode ( byte data ) : FastResume
data byte
return FastResume

Encode() public method

public Encode ( ) : BEncodedDictionary
return BEncodedDictionary

Encode() public method

public Encode ( Stream stream ) : void
stream Stream
return void

FastResume() public method

public FastResume ( BEncodedDictionary dict ) : Common.System
dict BEncodedDictionary
return Common.System

FastResume() public method

public FastResume ( InfoHash infoHash, BitField bitfield ) : Common.System
infoHash InfoHash
bitfield BitField
return Common.System