Original commit message from CVS: Unified getbits handling. I currently have an inline integer implementation.