Closed wendelscardua closed 9 months ago
static const constexpr struct { bool display_unicorn : 1; bool display_polyomino : 1; u8 duration : 6; }
In this case, how are these members stored on the byte ? I'd like duration to be the lowest 6 bits, to avoid shifting
yeah, I want the opposite; the fields are ordered from the lowest to highest
In this case, how are these members stored on the byte ? I'd like duration to be the lowest 6 bits, to avoid shifting