Notes on research, technology, and life
byte[] byteArray = yourString.getBytes(charsetName);
InputStream stream = new ByteArrayInputStream(yourString.getBytes(charsetName));
No comments:
Post a Comment