I'm not very familiar with all the bit shifting and masks that are involved with the process but I have a vague idea.
I'm looking for a way to pack around 30 booleans into an int or long so I can send the packed data through one data type, rather than sending across 30 separate booleans. Either this if it's possible, or the use of a bit set might help. I was wondering if someone could give me a little insight into how to go about packing the values.