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:
@@ -35,6 +35,10 @@ public class TestHexCodec {
|
||||
Assert.assertEquals(0xab, (buf[5] & 0xff));
|
||||
Assert.assertEquals(0xcd, (buf[6] & 0xff));
|
||||
Assert.assertEquals(0xef, (buf[7] & 0xff));
|
||||
buf = HexCodec.hexDecode("ABC");
|
||||
Assert.assertEquals(0x0a, (buf[0] & 0xff));
|
||||
Assert.assertEquals(0xbc, (buf[1] & 0xff));
|
||||
encodeDecode("ABC");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user