C# Class BEncodeLib.TorrentBDecoder

Inheritance: IDisposable
Afficher le fichier Open project: jvandertil/csharp-bencode

Méthodes publiques

Méthode Description
Decode ( ) : object
Dispose ( ) : void
GetInfoHash ( ) : byte[]
TorrentBDecoder ( Stream stream, Encoding encoding ) : System

Private Methods

Méthode Description
DecodeByteString ( ) : byte[]
DecodeDictionary ( ) : object>.IDictionary
DecodeList ( ) : IList
DecodeLong ( ) : long
DecodeString ( ) : string
GetNextIndicator ( ) : byte
Read ( int length ) : byte[]
Read ( ) : int

Method Details

Decode() public méthode

public Decode ( ) : object
Résultat object

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetInfoHash() public méthode

public GetInfoHash ( ) : byte[]
Résultat byte[]

TorrentBDecoder() public méthode

public TorrentBDecoder ( Stream stream, Encoding encoding ) : System
stream Stream
encoding System.Text.Encoding
Résultat System