CalculateHash() 정적인 개인적인 메소드

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
리턴 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);
 }