Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in Java by (10.2k points)

How can I transform a String value into an InputStreamReader?

1 Answer

0 votes
by (46k points)

ByteArrayInputStream can also help you:

InputStream is = new ByteArrayInputStream( myString.getBytes( charset ) );

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...