import org.jpos.iso.IFB_LLBINARY;
import org.jpos.iso.ISOBinaryField;
import org.jpos.iso.ISOException;
import org.jpos.iso.ISOUtil;
public class Test {
public static void main(String[] args) throws ISOException {
byte[] origin = ISOUtil.hex2byte("018008080998000010FFFF0021");
ISOBinaryField f = new ISOBinaryField(12, origin);
IFB_LLBINARY packager = new IFB_LLBINARY(10,
"Should be 0000 13 01 80 08 08 09 98 00 00 10 FF FF 00 21 .............!");
byte[] x = packager.pack(f);
System.out.println(ISOUtil.hexdump(x));
}
}
--
--
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/42b0e683-e558-459d-ac96-48c36915b758%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
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/1c6de0e0-29a1-4d8c-8c1e-70bbbdb231ab%40googlegroups.com.