void function ( int arg0 , int arg1 ) { int loc0 = 1 << ( arg1 - 1 ) ; do if ( ( ( crc & 0x8000 ) == 0 ) ^ ( ( arg0 & loc0 ) == 0 ) ) { crc <<= 1 ; crc ^= polynomial ; } else crc <<= 1 ; while ( ( loc0 >>>= 1 ) != 0 ) ; }
feed a bitstring to the crc calculation 0 < length < = 32 . concode_field_sep short crc concode_elem_sep short polynomial concode_field_sep short checksum