在 jpos 中使用十六进制位图解压 ascii 字符串

发布于 2025-01-16 03:53:42 字数 364 浏览 4 评论 0原文

我有一条带有十六进制位图的 ISO 8583 ascuu 消息。 我尝试按如下方式解压它:

 String hexMsg="0110E23800018ED006060000000000000011168...M..." 

 byte[] bmsg = ISOUtil.hex2byte(hexMsg);
 ISOMsg mes = new ISOMsg();
 mes.setPackager(new ISO87BPackager()); 
 mes.unpack(bmsg);

但是我遇到了麻烦,因为该消息不是十六进制并且它包含字符 M,例如 我试图将位图分开并对其余部分进行十六进制处理,但问题仍然没有解决:

任何人都可以帮忙吗?

I have an ISO 8583 ascuu message with Bitmap Hex.
I tried to unpack it as follows:

 String hexMsg="0110E23800018ED006060000000000000011168...M..." 

 byte[] bmsg = ISOUtil.hex2byte(hexMsg);
 ISOMsg mes = new ISOMsg();
 mes.setPackager(new ISO87BPackager()); 
 mes.unpack(bmsg);

But I got into trouble because the message was not hex and it contains the character M, for example
I tried to keep the bitmap separate and hex the rest and again the problem was not solved:

can any body help?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文