title: Convert binary string to byte array
body: <p>I have a string of ones and zeros that I want to convert to an array of bytes.</p>
  
  <p>For example <code>String b = "0110100001101001"</code> How can I convert this to a <code>byte[]</code> of length 2?</p>