ByteArrayOutputStream out = new ByteArrayOutputStream();
//serializer.setOutput(out, "utf-8");
new String(out.toByteArray(), "utf-8");
ByteArrayOutputStream转成String
阅读 149
2022-08-01
ByteArrayOutputStream out = new ByteArrayOutputStream();
//serializer.setOutput(out, "utf-8");
new String(out.toByteArray(), "utf-8");
相关推荐
精彩评论(0)