calculate the bit mask based on the values of the leastsignificantbit and bitwidth fields . concode_field_sep byte leastSignificantBit concode_elem_sep byte bitWidth concode_field_sep void setMask
long function ( ) { return ( ( 1 << bitWidth ) - 1 ) << leastSignificantBit ; }