CalculateHash() static private method

static private CalculateHash ( UInt32 table, UInt32 seed, IList buffer, int start, int size ) : UInt32
table System.UInt32
seed System.UInt32
buffer IList
start int
size int
return System.UInt32
示例#1
0
文件: Crc32.cs 项目: zha0/Cerberus
 // Token: 0x060007DA RID: 2010 RVA: 0x0003945C File Offset: 0x0003765C
 public static uint Compute(uint polynomial, uint seed, byte[] buffer)
 {
     return(~Crc32.CalculateHash(Crc32.InitializeTable(polynomial), seed, buffer, 0, buffer.Length));
 }
示例#2
0
文件: Crc32.cs 项目: zha0/Cerberus
 // Token: 0x060007D5 RID: 2005 RVA: 0x00039410 File Offset: 0x00037610
 protected override void HashCore(byte[] array, int ibStart, int cbSize)
 {
     this.hash = Crc32.CalculateHash(this.table, this.hash, array, ibStart, cbSize);
 }