title: Android : convert binary string to byte
body: <p>As the title says, I have to convert a binary string to byte format. My binary string contains only 6 bit data. I need to convert this 6 bit binary string to byte values</p>
  
  <p>binary string</p>
  
  <pre><code>String s1 =  "111011";
  String s2 =  "111000";
  String s3 =  "000000";
  String s4 =  "111000";
  String s5 =  "110111";
  </code></pre>