title: Unsigned char std::vector to unsigned char[]?
body: <p>Simple question, how does one create a function which takes an <code>unsigned char std::vector</code> and spits out an <code>unsigned char[]</code> with a <code>length</code>. Thanks!</p>
  
  <p>Ah, well it seems my problem was my knowledge of std::vector. I always believed that std::vector did not hold its values in linear fashion. That solves a lot of my problems. Thanks!</p>