Store and read Boolean values as bits of an integer.