title: Convert byte string to bytes or bytearray
body: <p>I have a string as follows:</p>
  
  <pre><code>  b'\x00\x00\x00\x00\x07\x80\x00\x03'
  </code></pre>
  
  <p>How can I convert this to an array of bytes? ... and back to a string from the bytes?</p>