title: How to parse byte using bits value
body: <p>I have to get values from a byte saved in three parts of bit combination.</p>
  
  <p>Bit Combination is following</p>
  
  <p>| - - | - - - | - - - |</p>
  
  <p>first portion contains two bits
  Second portion contains 3 bits 
  Third portion contains 3 bits </p>
  
  <p>sample value is</p>
  
  <p>11010001 = 209 decimal</p>
  
  <p>What I want is create Three different Properties which get me decimal value of three portion of given bit as defined above.</p>
  
  <p>how can  i get Bit values from this decimal number and then get decimal value from respective bits..</p>