title: stringstream and binary data
body: <p>What is needed (some method overrides?) in order to read/write binary data to/from std::basic_stringstream?
  I am trying the following code, but it does not work as I supposed:</p>
  
  <pre><code>std::basic_stringstream&lt;uint64_t&gt; s;
  uint64_t a = 9;
  s &lt;&lt; a;
  uint64_t b;
  s &gt;&gt; b;
  std::cout &lt;&lt; b &lt;&lt; std::endl;
  </code></pre>
  
  <p>but I get "0" printed (built with GCC).</p>