Convert a vector<unsigned char> to vector<unsigned short>
<p>I'm getting data from a binary file, reading from file and writing in a vector of unsigned char. I can't edit it, because I'm using a external library. </p>

<p>But the data that I'm reading from file is a 16 bits image, and I'd like to put the data in a vector of unsigned short</p>

<p>Maybe I can do a cast for it? </p>

<p>Rgds.</p>
