Byte Streams Character Streams June 23, 2005Posted by javafoo in Java IO, javanotes.
I can’t believe how people have programmed in Java, myself included, without really understanding how Byte Streams are different from Character Streams. There is an excellent article here
- If you see
Writerthink character stream and if you see
OutputStream think bytes.
- Thumb rule: use byte stream for binary data and character stream for everything else.