byte数组转换成String

byte[] body = event.getBody();
        String s = new String(body, Charset.forName("UTF-8"));

你可能感兴趣的:(#,新增知识)