Author: alanmc
Date: 2007-03-26 19:25:57 -0500 (Mon, 26 Mar 2007)
New Revision: 74999
Modified:
trunk/bitsharp/src/MonoTorrent.Client/AllowedFastAlgorithm.cs
Log:
Update for CLS Compliance
Modified: trunk/bitsharp/src/MonoTorrent.Client/AllowedFastAlgorithm.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent.Client/AllowedFastAlgorithm.cs
2007-03-26 23:24:26 UTC (rev 74998)
+++ trunk/bitsharp/src/MonoTorrent.Client/AllowedFastAlgorithm.cs
2007-03-27 00:25:57 UTC (rev 74999)
@@ -50,12 +50,12 @@
/// <param name="infohash">The info hash of the torrent</param>
/// <param name="numberOfPieces">The number of pieces in the
torrent</param>
/// <returns></returns>
- public static List<UInt32> Calculate(byte[] addressBytes, byte[]
infohash, UInt32 numberOfPieces)
+ internal static List<UInt32> Calculate(byte[] addressBytes,
byte[] infohash, UInt32 numberOfPieces)
{
return Calculate(addressBytes, infohash, AllowedFastPieceCount,
numberOfPieces);
}
- public static List<UInt32> Calculate(byte[] addressBytes, byte[]
infohash, int count, UInt32 numberOfPieces)
+ internal static List<UInt32> Calculate(byte[] addressBytes, byte[]
infohash, int count, UInt32 numberOfPieces)
{
byte[] hashBuffer = new byte[24]; // The hash
buffer to be used in hashing
List<UInt32> results = new List<UInt32>(count); // The results
array which will be returned
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches