首页
社区
课程
招聘
[求助] 初学XML 转换问题 getXml 怎么 去写toxml
发表于: 2017-11-10 14:45 1921

[求助] 初学XML 转换问题 getXml 怎么 去写toxml

2017-11-10 14:45
1921
这个怎么解释的,
public static String getXml(byte[] abytes)
{
if ((abytes == null) || (abytes.length <= 0))
return null;
byte[] ftemp = new byte[abytes.length];
for (int i = 0; i < ftemp.length; i++) {
ftemp[i] = ((byte)(abytes[i] ^ 0xFFFFFFFF));
}
EncodeBase64 fdecoder = new EncodeBase64();
String result = null;
try
{
result = new String(EncodeBase64.decode(new String(ftemp)), "UTF-8");
}
catch (Exception ex)
{
result = null;
}
return result;
}

[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
免费 0
支持
分享
最新回复 (0)
游客
登录 | 注册 方可回帖
返回