Bits: Add function to code value in bitrange of array.