/// <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)); }
/// <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)); }