Use InputStream, Reader, and stored data in char array