摘要:
来自:http://wuhongyu.iteye.com/blog/8067911.String to inputStreamInputStream is = new ByteArrayInputStream(string.getBytes()); 2.InputStream to String ByteArrayOutputStream baos = new ByteArrayOutputStream(); int i; while ((i = is.read()) != -1) { baos.write(i); } String str = baos.to... 阅读全文