I'm not going to do it that way because the putBit()'s are all inlined and then optimized. Doing a loop would be slower.