title: C++: Wrapping vector<char> with istream
body: <p>I want to wrap a <code>vector&lt;char&gt;</code> with <code>std::istream</code> (so reading the vector would be done through the <code>istream</code> interface)</p>
  
  <p>What's the way to do it?</p>