BitCountInt extension

Extends int with bitCount method that returns number of one-bits.

on

Methods

bitCount() int

Available on int, provided by the BitCountInt extension

Returns number of one-bits.