title: vector <unsigned char> vs string for binary data
body: <p>Which is a better c++ container for holding and accessing binary data?</p>
  
  <pre><code>std::vector&lt;unsigned char&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>std::string
  </code></pre>
  
  <p>Is one more efficient than the other?<br>
  Is one a more 'correct' usage?</p>