public static long generate ( long crc , long value ) { crc = next ( crc , ( byte ) ( value >> 56 ) ) ; crc = next ( crc , ( byte ) ( value >> 48 ) ) ; crc = next ( crc , ( byte ) ( value >> 40 ) ) ; crc = next ( crc , ( byte ) ( value >> 32 ) ) ; crc = next ( crc , ( byte ) ( value >> 24 ) ) ; crc = next ( crc , ( byte ) ( value >> 16 ) ) ; crc = next ( crc , ( byte ) ( value >> 8 ) ) ; crc = next ( crc , ( byte ) ( value >> 0 ) ) ; return crc ; }
Calculates CRC from a long