What are Bitmasks? – DEV Community

A bitmask is a masks (consider a multiple choice grading key) used to govern or reveal values in a bitmask. However to know what a bitmask is we first want to know what a bitfield is. What’s a Bitfield A bitfield is a group of values that every symbolize one in every of two states, […]

Bit tricks every programmer should know

Intro Hey everybody, I wager throughout a daily day at work you guys hardly ever shift bits left and proper, making use of ^ (XOR) or & (AND). So right this moment I need to shed some mild on a couple of fundamental bit tips that you simply all may discover useful (or possibly not). […]