--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/66bfb829-7e35-4e21-843d-76fc9ceba366%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks so much for your response @Victor, I do appreciate your time.
public static byte[] hexToBytes(String str) {
if (str == null) {
return null;
} else if (str.length() < 2) {
return null;
} else {
short len = (short)(str.length() / 2);
byte[] buffer = new byte[len];
for (short i = 0; i < len; i++) {
buffer[i] = (byte) Integer.parseInt(str.substring(i * 2, i * 2 + 2), 16);
}
return buffer;
}
}
m.set(52, Utils.hexToBytes(pinBlock));
MessageProcessor processPINBlock
INFO | jvm 1 | 2016/12/05 15:53:13 | INFO: MessageProcessor :: process0200 :: >>>>>>>>>>>>>>>>>>>>>>> translatedPINBlock: 99-Wrong Format
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/f50a9d59-0387-4ef2-9243-84d81cb1c33e%40googlegroups.com.