tag:blogger.com,1999:blog-13911304.post-1119585453848006792005-06-23T20:49:00.000-07:002005-06-23T20:57:33.853-07:00Byte Streams Character StreamsI can't believe I how people have programmed in Java, myself included, without really understanding how Byte Streams are different from Character Streams. There is an excellent article <a href="http://java.sun.com/developer/technicalArticles/Streams/ProgIOStreams/">here</a><br />Some pointers:<br /><ul> <li><span style="font-size:100%;">If you see <code>Reader</code> or <code>Writer</code> think character stream and if you see <code>InputStream</code> and <code>OutputStream <span style="font-family: georgia;">think bytes.</span></code></span></li> <li><span style="font-size:100%;"><span style="font-family: georgia;">Thumb rule: use byte stream for binary data and character stream for everything else.<br /> </span></span></li> </ul>Java Foohttp://www.blogger.com/profile/14104080800348407575noreply@blogger.com