I have to functions to convert Bit Position to Integer and back to Bit Position. The senior developer doesn\'t like, that i use a loop for the IntegerToBitPosition function,