Exemplo n.º 1
0
 /// <summary>
 /// Special decoding method for torrent files - allows dictionary attributes to be out of order for the
 /// overall torrent file, but imposes strict rules on the info dictionary.
 /// </summary>
 /// <returns></returns>
 public static BEncodedDictionary DecodeTorrent(RawReader reader)
 {
     return(BEncodeDecoder.DecodeTorrent(reader));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Special decoding method for torrent files - allows dictionary attributes to be out of order for the
 /// overall torrent file, but imposes strict rules on the info dictionary.
 /// </summary>
 /// <returns></returns>
 public static (BEncodedDictionary torrent, InfoHash infohash) DecodeTorrent(RawReader reader)
 {
     return(BEncodeDecoder.DecodeTorrent(reader));
 }