0
点赞
收藏
分享

微信扫一扫

ByteArrayOutputStream转成String

一枚路过的程序猿 2022-08-01 阅读 148

ByteArrayOutputStream out = new ByteArrayOutputStream();
//serializer.setOutput(out, "utf-8");
new String(out.toByteArray(), "utf-8");

举报

相关推荐

0 条评论