Esempio n. 1
0
 public static uint Compute(uint polynomial, uint seed, byte[] buffer)
 {
     return(~Crc32.a22(Crc32.b_m_c(polynomial), seed, (IList <byte>)buffer, 0, buffer.Length));
 }
Esempio n. 2
0
 public Crc32(uint polynomial, uint seed)
 {
     this.c = Crc32.b_m_c(polynomial);
     this.d = seed;
     this.b = seed;
 }