title: Check if uint16_t contains binary uin8_t
body: <p>Suppose I have two bytes, <code>0xE1</code> and <code>0xE6</code>. These consecutive bytes where cut from a longer range of bits. Since the cutting point is not related to the actual byte values, I need to check whether these bytes contain another, say <code>0x3C</code>. Basically a binary string contains.</p>
  
  <pre><code>0xE1    0xE6
  1110000111100110
       00111100     // It matches!
       0x3C
  </code></pre>
  
  <p>How do I algorithmically test this?</p>