static void Main(string[] args) { int[] int_input = new int[6]; int_input[0] = 0x0001; int_input[1] = 0x0003; int_input[2] = 0x001D; int_input[3] = 0x0063; int_input[4] = 0x0000; int_input[5] = 0x0002; crc crc_calculate = new crc(); crc_calculate.crc_bytes(int_input); Console.WriteLine("a:" + crc_calculate.int_crc_byte_a + " b:" + crc_calculate.int_crc_byte_b); Console.ReadKey(); }
crc = Crc32C.Mask(Crc32C.Append(crc, fragmentData));