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

static private InitializeTable ( UInt32 polynomial ) : System.UInt32[]
polynomial System.UInt32
리턴 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: 0x060007D3 RID: 2003 RVA: 0x000393CC File Offset: 0x000375CC
 public Crc32(uint polynomial, uint seed)
 {
     this.table = Crc32.InitializeTable(polynomial);
     this.hash  = seed;
     this.seed  = seed;
 }