title: EndOfStreamException with simple BinaryWriter and BinaryReader
body: <p>I'm using the following code:</p>
  
  <pre><code>var fileStream = new MemoryStream();
  var binaryWriter = new BinaryWriter(fileStream);
  var binaryReader = new BinaryReader(fileStream);
  
  binaryWriter.Write("Hello");
  var msg = binaryReader.ReadString();
  </code></pre>
  
  <p>However I'm getting the following exception:</p>
  
  <pre><code>System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
  </code></pre>
  
  <p>Before reading, <code>binaryReader.BaseStream.Length</code> is bigger than 0, however <code>binaryReader.PeekChar()</code> returns -1.</p>
  
  <p>What am I doing wrong?</p>