| Lesson 10 | CharArray Readers and Writers |
| Objective | Understand how to use CharArray Readers and Writers |
CharArray Readers Writers
The java.io.CharArrayReader and java.io.CharArrayWriter classes are similar in purpose and use to the
ByteArrayInputStream and ByteArrayOutputStream classes.
The CharArrayReader class lets an array of characters serve as the source for a Reader object.
The CharArrayWriter class sends output to a resizable array of characters rather than an output stream.
Unlike most other readers and writers, the CharArrayReader and CharArrayWriter classes do not perform character set conversions. Since these classes operate completely inside Java, all reading and writing takes place in Unicode.