binary message parsing has improved drastically. BINARY, LLBIN and LLLBIN types are correctly encoded and parsed in both ASCII and binary formats.
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@65 db60a039-f72e-0410-b1d2-baa000846441
This commit is contained in:
@@ -39,7 +39,7 @@ public class HexCodec {
|
||||
int holder = 0;
|
||||
int pos = 0;
|
||||
for (int i = 0; i < buf.length; i++) {
|
||||
for (int z = 0; z < 2; z++) {
|
||||
for (int z = 0; z < 2 && pos<hex.length(); z++) {
|
||||
c = hex.charAt(pos++);
|
||||
if (c >= 'A' && c <= 'F') {
|
||||
c -= 55;
|
||||
|
||||
Reference in New Issue
Block a user