title: Why DataInputStream can't read char correctly?
body: <p>I tried to  write String in  DataInputStream, when read from DataInputStream single char, but I have an error.</p>
  
  <p>I expected, that <code>readChar()</code> return 'q', but method:</p>
  
  <pre><code>assertEquals('q', DataInputStream("q".byteInputStream(Charsets.UTF_8)).readChar())
  </code></pre>
  
  <p>Throws exception:</p>
  
  <blockquote>
    <p>java.io.EOFException
    at java.io.DataInputStream.readChar(DataInputStream.java:365)</p>
  </blockquote>