title: What data type should you use in C++ when working with binary data blocks?
body: <p>While <code>string</code> should be used for working with strings, I would like to know what structure you should use in C++ when working with blocks of data.</p>
  
  <p>I'm asking this because it would be nicer to use one parameter instead of passing a <code>char* data</code> and <code>size_t size</code> (or a custom structure).</p>