some (older? C?) code uses a character or integer as a 'set' of 8, 16, 32 etc boolean values. You just set and check the bit you want. It is not uncommon to have such a thing in a header for a serial stream (think: ethernet message packet) to identify which items from a set of possible items are in the packet rather than burn a full byte for each one.