예제 #1
0
 /// <summary>
 /// Hashes the core.
 /// </summary>
 /// <param name="array">The buffer.</param>
 public uint CalculateHash2(byte[] array)
 {
     return(Crc32.CalculateHash(this.table, this.hash, array, 0, array.Length));
 }
예제 #2
0
 /// <summary>
 /// Hashes the core.
 /// </summary>
 /// <param name="array">The buffer.</param>
 /// <param name="start">The start.</param>
 /// <param name="length">The length.</param>
 protected override void HashCore(byte[] array, int start, int length)
 {
     this.hash = Crc32.CalculateHash(this.table, this.hash, array, start, length);
 }