A ReaderInputStream converts java.io.Reader to java.io.InputStream.
A WriterOutputStream converts java.io.Writer to java.io.OutputStream.