Software Development

Bitmask Helper Function

Bitmask Helper Function

I had a need recently to be able to determine if a given position of an integer bitmask was set or not (for example, given the bitmask 0101 which is 5 in decimal, how would you check if the 4 position is set?

Read More →

Keyboard shortcuts

?
Show this help
Esc
Close this help or an open menu
Tab
Move between links and buttons (Shift+Tab to go back)