title: Using nibbles (4 bits variables) in windows C/C++
body: <p>I'm programming network headers and a lot of protocols use 4 bits fields. Is there a convenient type I can use to represent this information?</p>
  
  <p>The smallest type I've found is a BYTE. I must then use a lot of binary operations to reference only a few bits inside that variable.</p>