If you need to keep track of a lot of on/off toggles, like user settings etc. There is only one easy way to store and manipulate these values: Bitfields. With these
functions manipulating bitfields becomes easy. Everything you need is included below.