How can I convert an int to an array of bool (representing the bits in the integer)? For example:
4 = { true, false, false }
7 = { true, true, true }
255 = { true, true, true, true, true, true, true, true }
See Question&Answers more detail:os