Store String into FileoutputStream

Output and input stream accept and send data in the form of byte so we have to convert the string into the byte for.
So,
The you have to do

out.write( String.getByte(Charset.forName("UTF-8")) );

0 comments:

Post a Comment

My Instagram