Byte Streams Character Streams
I 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 here
Some pointers:
- If you see
ReaderorWriterthink character stream and if you seeInputStreamandOutputStream think bytes. - Thumb rule: use byte stream for binary data and character stream for everything else.


0 Comments:
Post a Comment
<< Home